npm operation and problems encountered

table of Contents

1. Slow download

2. Download the js package and report an error

3. Saas download error

4. [email protected] installation failed when project npm install


 

1. Slow download

npm install 下载很慢的时候可以使用:使用淘宝镜像: npm install -g --registry=https://registry.npm.taobao.org npm出现了很多的bug:script dev 的问题:https://segmentfault.com/q/1010000015098798

2. Download the js package and report an error

npm install报错Failed at the [email protected] install script

https://blog.csdn.net/wangxinxin1992816/article/details/90066389

npm install prompts python2.7

https://www.cnblogs.com/xiaobaoTribe/p/npm.html

3. Saas download error

An error was reported during the execution of npm run dev:

node-saad/vendor does not exist, the solution is to delete node-saas in the node-modules folder and re-execute npm install

4. [email protected] installation failed when project npm install

Execute npm install [email protected] --ignore-scripts command to install [email protected], --ignore-scripts parameter is used for npm install to ignore package.json when installing [email protected] The script set in the means to prevent the script in package.json from affecting the normal installation of the package.

 

Guess you like

Origin blog.csdn.net/wangleisuiqiansuiyue/article/details/108893008