1.清除缓存

npm cache verify

2.设置镜像源

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

3.查看是否设置成功

npm config get registry

4.运行

npm i

使用npm i命令时一直idealTree:npm: sill idealTree buildDeps卡住不动-CSDN博客

Logo

一站式 AI 云服务平台

更多推荐