墨斋记

Good Luck To You!

微信小程序使用tdesign,构建NPM报错解决

报错:

message: NPM packages not found. Please confirm npm packages which need to build are belong to `miniprogramRoot` directory. Or you may edit project.config.json's `packNpmManually` and `packNpmRelationList` appid: wxd90a69ba65d56873 openid: o6zAJs4UXjeOJR

修改:文件project.config.json


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


发表评论:

Powered By Z-BlogPHP 1.7.3

冀公网安备13019902000834
冀ICP备18019600号-1
Copyright CC Some Rights Reserved.Contact Email:chengyingbo88@163.com