在vs code 中用npm下载webpack出错
npm ERR! errno ETIMEDOUT
npm ERR! network request to https://registry.npmjs.org/webpack failed, reason: connect ETIMEDOUT 104.16.22.35:443
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 ERR! C:\Users\LENOVO\AppData\Roaming\npm-cache_logs\2020-08-11T01_21_19_209Z-debug.log
在vs code 中用npm下载webpack时,总是报以上的错误。
此时先输入
npm install -g npm
然后重新输入
npm i webpack webpack-cli -D
本文地址:https://blog.csdn.net/qq_44791528/article/details/107928309
上一篇: 微信新增的情炸粑粑表情怎么玩? 微信炸粑粑功能的玩法
下一篇: Study day01