收藏
回答

今天更新工具后启动报错project.config.json: replace 不能为空,为什么?

工具版本是1.06.2306281

回答关注问题邀请回答
收藏

2 个回答

  • 社区运营专员-一旺
    社区运营专员-一旺
    2023-07-05

    贴一下你的project.config.json

    2023-07-05
    有用
    回复 2
    • 那只是梦cium
      那只是梦cium
      2023-07-05
      我发在下面评论了
      2023-07-05
      回复
    • 那只是梦cium
      那只是梦cium
      2023-07-05
      我换成其他的开发工具之前的版本就没事了,但是1.06.2306281这个版本就报错
      2023-07-05
      回复
  • 那只是梦cium
    那只是梦cium
    2023-07-05
    {
        "description""项目配置文件",
        "packOptions": {
            "ignore": [],
            "include": []
        },
        "miniprogramRoot""miniprogram/",
        "compileType""miniprogram",
        "projectname""ts-sass-demo",
        "setting": {
            "useCompilerPlugins": [
                "typescript",
                "sass"
            ],
            "babelSetting": {
                "ignore": [],
                "disablePlugins": [],
                "outputPath"""
            },
            "packNpmManually"true,
            "packNpmRelationList": [
                {
                    "packageJsonPath""./package.json",
                    "miniprogramNpmDistDir""./miniprogram/"
                }
            ],
            "ignoreUploadUnusedFiles"false,
            "ignoreDevUnusedFiles"false,
            "condition"false,
            "es6"true,
            "enhance"true,
            "minified"false,
            "minifyWXSS"true
        },
        "simulatorType""wechat",
        "simulatorPluginLibVersion": {},
        "condition": {},
        "srcMiniprogramRoot""miniprogram/",
        "appid""wxa2d3f5f1b6aeb2a4",
        "libVersion""2.28.1",
        "editorSetting": {
            "tabIndent""insertSpaces",
            "tabSize"4
        },
        "skeletonConfig": {
            "global": {
                "outline": {
                    "remain"false
                },
                "remove": [
                    "#tabs-wrap",
                    ".van-goods-action"
                ]
            },
            "pages": {
                "pages/admin/pages/center/card/index": {}
            }
        }
    }
    
    2023-07-05
    有用
    回复 1
    • 工号 9527
      工号 9527
      2023-07-06
      这里少了 replace ,编辑器应该有提示的
      2023-07-06
      回复
登录 后发表内容