Because this folder is copied from other places, there is a problem with the path, after deleting the dependencies, restart npm install xxx
,(Xxx refers to the module that your computer can't find, such as application) to solve the problem
First delete the dependent packages :
but! ! : Direct usenpm install xxx
will be very slow, but also easy to install unsuccessful, it is not recommended to use npm.
Solution :
Use Taobao mirror cnpm i xxx (xxx refers to the module that your computer can't find, such as application) The speed is several times faster and the success rate is high.
How to use :
1 . Open cmd, enter the following command
npm install -g cnpm --registry=https://registry.npm.taobao.org
2 . After the show finished, enter the following command (xxx refers to the module that your computer can not find such application)
cnpm i xxx