当前位置:网站首页>npm install 时,卡住不动,五种解决方法
npm install 时,卡住不动,五种解决方法
2022-07-29 06:29:00 【m0_67400972】
运行npm install 时,卡住不动,五种解决方法
检查网络设置,删除node_modules重新npm install
配置npm代理
// 配置nmp代理来提高速度,如设置淘宝镜像 npm config set registry https://registry.npm.taobao.org // 查看配置是否成功 npm config get registry // 成功后重新npm install安装 npm install使用nrm来管理npm镜像源
// 全局安装nrm (mac需要加上sudo) npm install -g nrm // 查看可配置的源列表 nrm ls // 使用配置列表中的源 nrm use taobao使用cnpm来安装
// 全局安装cnpm (mac需要加上sudo) npm install cnpm -g --registry=https://registry.npmmirror.com // 成功后使用cnpm install安装 cnpm install使用yarn来安装
// 全局安装yarn (mac需要加上sudo) npm install -g yarn // 成功后使用yarn install安装 yarn install
边栏推荐
- Leetcode-592: fraction addition and subtraction
- 二次元卡通渲染——进阶技巧
- OCR光学字符识别方法汇总
- Flink real-time warehouse DWD layer (order placing multiple tables to realize join operation) template code
- Is online legend software testing training really so black hearted? Are they all scams?
- 外包干了3年,跳槽后转自动化测试工资是原来的2倍,秘诀原来是......
- 太空射击第17课: Game Over (結束)
- Teacher wangshuyao's operations research course notes 07 linear programming and simplex method (standard form, base, base solution, base feasible solution, feasible base)
- MVFuseNet:Improving End-to-End Object Detection and Motion Forecasting through Multi-View Fusion of
- Simulation volume leetcode [normal] 081. Search rotation sort array II
猜你喜欢

要不要满足客户所有的需求

ECCV 2022丨轻量级模型架ParC-Net 力压苹果MobileViT代码和论文下载

我的创业邻居们

Student status management system based on C language design

Connecting PHP 7.4 to Oracle configuration on Windows

MVFuseNet:Improving End-to-End Object Detection and Motion Forecasting through Multi-View Fusion of

WPF嵌套布局案例

Vscode remote debugging PHP solution through remotessh and Xdebug

VMware16安装虚拟机遇到的问题

MVFuseNet:Improving End-to-End Object Detection and Motion Forecasting through Multi-View Fusion of
随机推荐
Leetcode-1331: array ordinal conversion
2022-07-28:以下go语言代码输出什么?A:AA;B:AB;C:BA;D:BB。 package main import ( “fmt“ ) func main() { f
spark学习笔记(七)——sparkcore核心编程-RDD序列化/依赖关系/持久化/分区器/累加器/广播变量
IO stream - file - properties
VMware16安装虚拟机遇到的问题
resize2fs: 超级块中的幻数有错(Bad magic number in super-block )
Improved Pillar with Fine-grained Feature for 3D Object Detection论文笔记
Simulation volume leetcode [general] 150. evaluation of inverse Polish expression
线程 - 线程安全 - 线程优化
win11系统错误:由于找不到 iertutil.dll,无法继续执行代码。重新安装程序可能会解决此问题
HJ37 统计每个月兔子的总数 斐波那契数列
Teacher Wang Shuyao's notes on operations research 09 linear programming and simplex method (Application of simplex table)
最新百亿量化私募名单
Pod基本介绍
pytest合集(7)— 参数化
游戏资产的革命
图像加噪声与矩阵求逆
Student achievement ranking system based on C language design
Teacher Wu Enda's machine learning course notes 02 univariate linear regression
IDEA找不到Database解决方法