npm install 安装插件报错

1、npm install @ant-design/charts --save   报错

 

1
2
3
4
5
6
7
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

 

2、解决办法:把save放到前面就可以了

npm install --save @ant-design/charts

 

posted @   信铁寒胜  阅读(187)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
· 字符编码:从基础到乱码解决
· 提示词工程——AI应用必不可少的技术
历史上的今天:
2022-04-26 JAVA调用SAP端RFC接口
2021-04-26 Eclipse Action与Command的区别
2021-04-26 Eclipse开发RCP项目的plugin.xml详解
2021-04-26 Swing中通过按钮对表格JTable选中行对象进行上移和下移的操作
2021-04-26 超详细eclipse安装反编译插件(Java Decompiler)
2021-04-26 Teamcenter RAC开发获取当前用户下所有的项目
2021-04-26 Teamcenter RAC开发获取所有的时间表模版
点击右上角即可分享
微信分享提示