当前位置:网站首页>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
边栏推荐
- What is the difference between blue-green publishing, rolling publishing and gray publishing?
- Technologie zéro copie
- Three characteristics of volatile keyword [data visibility, prohibition of instruction rearrangement and no guarantee of operation atomicity]
- Search ideas and cases of large amount of Oracle redo log
- Reading notes: Secure federated matrix factorization
- leetcode--380.O(1) 时间插入、删除和获取随机元素
- Leetcode brush question 897 incremental sequential search tree
- ACFs file system creation, expansion, reduction and other configuration steps
- Small case of web login (including verification code login)
- Handling of high usage of Oracle undo
猜你喜欢
2022年江西最新建筑八大员(质量员)模拟考试题库及答案解析
About note 1
Dynamic subset division problem
Leetcode brush question 𞓜 13 Roman numeral to integer
Information: 2021 / 9 / 29 10:01 - build completed with 1 error and 0 warnings in 11S 30ms error exception handling
聯想拯救者Y9000X 2020
Leetcode? The first common node of two linked lists
Leetcode | 38 appearance array
Small case of web login (including verification code login)
Solution of discarding evaluate function in surprise Library
随机推荐
Three characteristics of volatile keyword [data visibility, prohibition of instruction rearrangement and no guarantee of operation atomicity]
10g database cannot be started when using large memory host
Static interface method calls are not supported at language level '5'
Function executes only the once function for the first time
Dolphin scheduler integrates Flink task pit records
SQL learning | complex query
Ora-16047 of a DG environment: dgid mismatch between destination setting and target database troubleshooting and listening vncr features
About me
[code analysis (7)] communication efficient learning of deep networks from decentralized data
Question bank and answer analysis of the 2022 simulated examination of the latest eight members of Jiangxi construction (quality control)
蓝绿发布、滚动发布、灰度发布,有什么区别?
JS 烧脑面试题大赏
PG SQL intercepts the string to the specified character position
sys. dbms_ scheduler. create_ Job creates scheduled tasks (more powerful and rich functions)
Modify the Jupiter notebook style
cnpm的诡异bug
Leetcode brush question 𞓜 13 Roman numeral to integer
YARN线上动态资源调优
PG library to view the distribution keys of a table in a certain mode
Jenkins construction and use