当前位置:网站首页>Strange bug of cnpm
Strange bug of cnpm
2022-04-23 13:54:00 【coderYYY】
Don't use it easily cnpm, Will become unfortunate
Installing today pig-ui Dependent package , Use cnpm install Installed ( Because the official use is also cnpm)

But during installation , Not only the installation speed is slow, but also an error is reported
retry GET https://registry.npmmirror.com/monaco-editor/-/monaco-editor-0.27.0.tgz after 100ms, retry left 4, ResponseTimeoutError: Res ponse timeout for 120000ms, GET https://cdn.npmmirror.com/packages/monaco-editor..retry GET https://registry.npmmirror.com/monaco-editor/-/monaco-editor-0.27.0.tgz after 100ms, retry left 4, ResponseTimeoutError: Res ponse timeout for 120000ms, GET https://cdn.npmmirror.com/packages/monaco-editor
Installation stuck in this place for a long time
Installing babel-runtime@6.x
I verified the image again , It's no problem to find
# Validation command :
npm config get registry
# return https://registry.npmmirror.com, The image configuration is successful
After that node-modules It's still not possible to delete it and reinstall it
Now I use npm install Installation still doesn't work
I'll put cnpm Uninstalled , Reuse npm install, The installation is successful , And it runs successfully

summary
It works npm Or use it npm, however cnpm Sometimes it has the advantage of being fast ( But that weird pile of bug Sometimes it really drives me crazy ), It is better not to mix the two together
版权声明
本文为[coderYYY]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231350316481.html
边栏推荐
- Three characteristics of volatile keyword [data visibility, prohibition of instruction rearrangement and no guarantee of operation atomicity]
- 零拷貝技術
- Detailed explanation of Oracle tablespace table partition and query method of Oracle table partition
- 第十五章 软件工程新技术
- Failure to connect due to improper parameter setting of Rac environment database node. Troubleshooting
- MySQL [acid + isolation level + redo log + undo log]
- leetcode--380.O(1) 时间插入、删除和获取随机元素
- Port occupied 1
- Oracle告警日志alert.log和跟踪trace文件中文乱码显示
- Search ideas and cases of large amount of Oracle redo log
猜你喜欢

Oracle告警日志alert.log和跟踪trace文件中文乱码显示

Solution of discarding evaluate function in surprise Library

神经元与神经网络

Technologie zéro copie

What is the difference between blue-green publishing, rolling publishing and gray publishing?

ACFs file system creation, expansion, reduction and other configuration steps

Express ② (routing)

cnpm的诡异bug

【项目】小帽外卖(八)

SQL learning window function
随机推荐
Test on the time required for Oracle to delete data with delete
SQL learning window function
pycharm Install packages failed
Influence of openssh version on SSH mutual trust creation in RAC environment
初探 Lambda Powertools TypeScript
Dolphin scheduler integrates Flink task pit records
Personal learning related
Jiannanchun understood the word game
大专的我,闭关苦学 56 天,含泪拿下阿里 offer,五轮面试,六个小时灵魂拷问
Small case of web login (including verification code login)
Wechat applet
Analysis of cluster component gpnp failed to start successfully in RAC environment
Port occupied 1
Express ② (routage)
sys. dbms_ scheduler. create_ Job creates scheduled tasks (more powerful and rich functions)
Database transactions
Kettle--控件解析
解决方案架构师的小锦囊 - 架构图的 5 种类型
蓝绿发布、滚动发布、灰度发布,有什么区别?
Tensorflow Download