项目场景:
运行npm install
问题描述
运行npm install 时,卡在sill idealTree buildDeps没有反应
fetchMetadata: sill mapToRegistry uri http://registry.npmjs.org/whatwg-fetch
原因分析:
网络问题
解决方案:
切换热点或者切换镜像源
1.切换淘宝镜像源
npm config set registry https://registry.npm.taobao.org
2.检查是否配置成功
npm config get registry
3.运行npm install
原文链接:https://blog.csdn.net/zjq_1234/article/details/88946863