message: No NPM package that can be built is found. Please confirm that the npm that needs to be built is in the `miniprogramRoot` directory, or configure packNpmMa in project.config.json

1. Type in the terminal 

npm init -y

2. Install the npm package you want to install

npm install --save [email protected] [email protected]

3. Click Tools - Build npm

Guess you like

Origin blog.csdn.net/weixin_42835381/article/details/130201485