Micro letter applet does not find npm package can be built

Figure problem:

 

 

 

1. Go to the root directory of the applet, open cmd, enter: npm init; then, after the command has been input Enter point

2. Enter the command: npm i vant-weapp -S --production

After completion of the command execution, and then go midpoint micro-channel developer tools - building npm, then successful, as shown below:

 

 

Guess you like

Origin www.cnblogs.com/mei1234/p/11934691.html