Small micro-channel program to build npm not found or did not find node_modules directory

I encountered this problem when introducing vant ui component library

The solution is:

In the terminal

1, NPM heat

2、npm i vant-weapp -S --production

Can be solved

Guess you like

Origin www.cnblogs.com/lsyy2017/p/11563731.html