当前位置:   article > 正文

npm安装时一直idealTree:npm: sill idealTree buildDeps卡住不动

idealtree:npm: sill idealtree builddeps

npm安装时一直idealTree:npm: sill idealTree buildDeps卡住不动

解决步骤:
1.去以下的目录中删掉.npmrc文件(只在C:\User.npmrc)
在这里插入图片描述
2.清除缓存,使用npm cache verify

不要用npm cache clean --force,容易出现npm WARN using --force I sure hope you know what you are doing.

3.设置镜像:

npm config set registry https://registry.npmmirror.com

4.查看镜像是否设置成功: npm config get registry
5. 运行npm 安装东西即可(npm i / npm install

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号