Tools
- Build npm
Error:
1 | 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` [1.06.2405020][win32-x64] |
Edit project.config.json
and add the following content in the setting
section:
1 | "packNpmManually": true, |
Close the current project then reopen it in the WeChat Developer tool.
From the menu, click Tools
-> Build npm
, then you should be able build the project successfully.