关于微信小程序:微信小程序npm构建报错-NPM-packages-not-found

95次阅读

共计 185 个字符,预计需要花费 1 分钟才能阅读完成。

project.config.json
删去

{"miniprogramRoot": "miniprogram/"}

增加

{
    "packNpmManually": true,
    "packNpmRelationList": [
      {
        "packageJsonPath": "./package.json",
        "miniprogramNpmDistDir": "./miniprogram/"
      }
    ]
}

正文完
 0