npm -g install yarn 问题

2024-09-03  本文已影响0人  iVikings

执行 npm -g install yarn
一直 卡在 idealTree:lib: sill idealTree buildDeps

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

或者,你也可以将镜像源删除,让 npm 使用默认的镜像源:

npm config delete registry
npm config set registry https://registry.npmmirror.com/
npm config get registry
上一篇 下一篇

猜你喜欢

热点阅读