当前位置:网站首页>How to solve cnpm stuck during execution?
How to solve cnpm stuck during execution?
2022-07-24 01:03:00 【Ark Ark】
problem
perform cnpm i When the program is stuck , No response , At this time, the most common methods are two , One is to restart , The other is unloading and reloading . These two methods are very effective .
When encountering this problem, the re implementation of the discovery still cannot be solved , Then I uninstalled and reinstalled cnpm .
Solution
1 Uninstall before cnpm edition .
npm uninstall -g cnpm --registry=https://registry.npm.taobao.org
2 Register module image
npm set registry https://registry.npm.taobao.org
3 node-gyp Compilation depends on node Source image
npm set disturl https://npm.taobao.org/dist
4 Empty cache
npm cache clean --force
5 install cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
边栏推荐
- 1000 okaleido tiger launched binance NFT, triggering a rush to buy
- Solve the problem that MySQL inserts Chinese garbled code into the table
- Group chat room based on UDP
- Solve the problem that the double click of Google Chrome browser doesn't respond and can't be started (friendly testing)
- 黑馬程序員-接口測試-四天學習接口測試-第四天-Postman讀取外部數據文件,讀取數據文件數據,iHRM項目實戰,員工管理模塊,添加員工,批量運行測試用例,生成測試報告,
- 爬虫请求库的使用2
- 落枕如何快速缓解
- Three usages of synchronized keywords in vernacular
- Create a self signed certificate to digitally sign exe files
- J'ai choisi la mauvaise technologie au mauvais moment.
猜你喜欢

Use of crawler request library 2

Project scenario: NVIDIA SMI unable to datemine the device handle for GPU 0000:01:00.0: unknown error

IDEA 热部署(热加载)

An article teaches you the basic use of kubernetes

Hcia-01 initial understanding of the Internet

MySQL exercise: all employees reporting to the CEO

Case error of MySQL branch statement

黑馬程序員-接口測試-四天學習接口測試-第四天-Postman讀取外部數據文件,讀取數據文件數據,iHRM項目實戰,員工管理模塊,添加員工,批量運行測試用例,生成測試報告,

深入理解协程

Solve the error: uncaught (in promise) navigationduplicated: avoided redundant navigation to current location:“
随机推荐
scroll-view实现下拉刷新(避免onload进入页面初始refresher-triggered为true触发下拉问题)
Introduction to QT (2.1 the first procedure for the beginning of QT)
kubernetes 部署 dashboard(可视化界面)
OSPF experiment
scroll-view實現下拉刷新(避免onload進入頁面初始refresher-triggered為true觸發下拉問題)
Bean validation custom container validation chapter ----06
IDEA设置 自动导包删无用包
【复盘】关于我在错误的时间选错了技术这件事
URL query parameter encoding problem (golang)
Sublime text 3 汉化+添加常用插件
Deep understanding of collaborative process
ACL——net
Form resume
MySQL exercise: all employees reporting to the CEO
暑假第四周总结
C language database: detailed description. Use the student management system to understand the operation of the database, which is simple and easy to understand.
IDEA 热部署(热加载)
Hot 100 dynamic programming
【FreeSwitch开发实践】专栏简介
Notes to Chapter 2 of kubernetes in action