1、npm install @ant-design/charts --save 报错
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
标签:npm,插件,network,ERR,报错,install,save From: https://www.cnblogs.com/wwssgg/p/18159480