npm install 一直卡着不动如何解决

简介: npm install 一直卡着不动如何解决


方式一:

npm cache clean --force
npm config set registry https://registry.npmmirror.com
npm install

下面是简单的解释:

🍀1、强制清理 npm 缓存

npm cache clean --force

🍀2、设置镜像源

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

🍀3、重新 install

npm install

方式二:

npm config set registry https://registry.npm.taobao.org
npm config get registry
npm install
相关文章
|
16天前
|
网络安全 计算机视觉
【node】 npm install 报错:code 128
【node】 npm install 报错:code 128
34 1
|
30天前
|
缓存
npm install 报 npm ERR! cb()never called!的错误
npm install 报 npm ERR! cb()never called!的错误
17 0
|
9天前
|
缓存 资源调度
npm install安装时一直idealTree:npm: sill idealTree buildDeps解决方案(亲测有效)
npm install安装时一直idealTree:npm: sill idealTree buildDeps解决方案(亲测有效)
22 2
|
1月前
|
缓存 网络虚拟化
解决 npm install 报错的常见问题
解决 npm install 报错的常见问题
225 0
|
1月前
|
JavaScript 前端开发 持续交付
npm install 执行后打印的 reify rxjs timing... Completed in 30389 ms 是什么意思
npm install 执行后打印的 reify rxjs timing... Completed in 30389 ms 是什么意思
36 0
|
1月前
|
资源调度 JavaScript 前端开发
Composable Storefront 的开发模式,用 npm install
Composable Storefront 的开发模式,用 npm install
16 0
|
2月前
|
前端开发 JavaScript
npm install --save 和 npm install --save-dev区别
npm install --save 和 npm install --save-dev区别
|
2月前
|
安全 JavaScript 开发者
关于 npm install 执行时的安全审计工作
关于 npm install 执行时的安全审计工作
52 0
|
2月前
|
JavaScript 数据可视化
关于 npm install 命令行自行时看到的 timing 输出
关于 npm install 命令行自行时看到的 timing 输出
56 0
|
7月前
npm install 报错 npm ERR! puppeteer@1.20.0 install: `node install.js`
npm install 报错 npm ERR! puppeteer@1.20.0 install: `node install.js`
187 0

推荐镜像

更多