npm install express [..................] / idealTree:project: sill idealTree bui site:blog.csdn.net


运行npm install 时,卡在sill install loadAllDepsIntoIdealTree不动

1. npm install一直停留在fetchMetadata: sill mapToRegistry uri http://registry.npmjs.org/whatwg-fetch可以使用如下命令设置为淘宝的镜像源:

npm config set registry https://registry.npm.taobao.org 

2. 使用如下命令检验是否成功:

npm config get registry 

输出淘宝镜像路径

3. 继续运行 npm install ,安装过程畅通无阻


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM