使用npm i命令时一直idealTree:npm: sill idealTree buildDeps卡住不动
1.清除缓存
npm cache verify
2.设置镜像源
npm config set registry https://registry.npmmirror.com
3.查看是否设置成功
npm config get registry
4.运行
npm i
⚠️⚠️⚠️注意如果执行以上操作还是不行的话再执行以下命令⚠️⚠️⚠️
关掉strict-ssl即可
npm config set strict-ssl false
再次运行
npm i
用完之后恢复:
npm config set strict-ssl true