乐趣区

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

project.config.json
删去

{"miniprogramRoot": "miniprogram/"}

增加

{
    "packNpmManually": true,
    "packNpmRelationList": [
      {
        "packageJsonPath": "./package.json",
        "miniprogramNpmDistDir": "./miniprogram/"
      }
    ]
}
退出移动版