首页 > 其他分享 >运行npm install 时,卡在sill idealTree buildDeps没有反应

运行npm install 时,卡在sill idealTree buildDeps没有反应

时间:2022-11-12 11:33:39浏览次数:48  
标签:npm buildDeps registry install sill idealTree

.运行npm install 时,卡在sill idealTree buildDeps没有反应

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

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

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

npm config get registry

输出淘宝镜像路径

  1. 继续运行

npm install

就可以继续安装成功

标签:npm,buildDeps,registry,install,sill,idealTree
From: https://www.cnblogs.com/tik2012/p/16883353.html

相关文章