当前位置:网站首页>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
边栏推荐
- Personal learning related
- RAC environment error reporting ora-00239: timeout waiting for control file enqueue troubleshooting
- Reading notes: fedgnn: Federated graph neural network for privacy preserving recommendation
- JS brain burning interview question reward
- What is the difference between blue-green publishing, rolling publishing and gray publishing?
- Postman reference summary
- Apache seatunnel 2.1.0 deployment and stepping on the pit
- Analysis of the problem that the cluster component GIPC in RAC environment cannot correctly identify the heartbeat network state
- 【vmware】vmware tools 地址
- Influence of openssh version on SSH mutual trust creation in RAC environment
猜你喜欢
随机推荐
Leetcode? The first common node of two linked lists
Processing of ASM network not automatically started in 19C
The query did not generate a result set exception resolution when the dolphin scheduler schedules the SQL task to create a table
服务器中挖矿病毒了,屮
3300万IOPS、39微秒延迟、碳足迹认证,谁在认真搞事情?
Oracle renames objects
try --finally
MySQL [acid + isolation level + redo log + undo log]
freeCodeCamp----arithmetic_ Arranger exercise
Reading notes: meta matrix factorization for federated rating predictions
PG library checks the name
【项目】小帽外卖(八)
Modify the Jupiter notebook style
FDFS start
Wechat applet
Android interview theme collection
Express middleware ③ (custom Middleware)
Android 面试主题集合整理
Oracle generates millisecond timestamps
Dolphin scheduler configuring dataX pit records