处理报错: network This is a problem related to network connectivity.

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'

npm ERR! A complete log of this run can be found in:

几次npm install时都出现上面错误,解决方法:

1.终端运行:npm cache clean --force清理缓存

2.再执行npm i

就顺利装好了

你可能感兴趣的:(vue.js)