[Vuejs]-NPM proxy problem when trying to install Vue CLI globally

0๐Ÿ‘

Try removing proxies with the following command the try to install it

npm config rm proxy

npm config rm https-proxy

0๐Ÿ‘

I had similar error

๐Ÿ—ƒ  Initializing git repository...
โš™๏ธ  Installing CLI plugins. This might take a while...
npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! network request to https://cdn.npm.taobao.org/%40babel/plugin-transform-unicode-escapes/-/%40babel/plugin-transform-unicode-escapes-7.12.1.tgz failed, reason: connect ETIMEDOUT 129.227.206.207: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\Pradeep S\AppData\Roaming\npm-cache\_logs\2020-11-27T19_57_22_034Z-debug.log  ERROR  command failed: npm install --loglevel error

Resolved by changing Wifi connection to laptop. Used mobile hotspot to connect and tried creating project from vue cli again, and it worked this time

Leave a comment