npm安装时一直idealTree:npm: sill idealTree buildDeps解决方案
1.删除用户界面下的npmrc文件(注意一定是用户C:\Users\{账户}\下的.npmrc文件下不是nodejs里面)
2.清除缓存,注意不要用npm cache clean --force,容易出现npm WARN using --force I sure hope you know what you are doing.要用:
npm cache verify
3.设置镜像源:
npm config set registry https://registry.npmmirror.com
4.查看下是否设置成功:
npm config get registry
5.运行npm install