ETIMEDOUT Error while installing Node packages on Windows
node.js, npm, windows
Solution
I am posting this answer in case some one faces the same issue.
I was able to solve this by running following command:
npm config delete proxy
Problem
I am trying to install node packages on my windows machine using npm from a fresh install of node. however, I am getting ETIMEDOUT errors. I checked few other stackoverflow questions with similar problem and almost all of them are related to problems when behind a proxy. Same is not the case with me. My system is not behind any proxy server. Can someone help me with resolving it. ``` PS C:\windows\system32> npm -v 2.5.1 PS C:\windows\system32> npm install bower -g npm ERR! Windows_NT 6.3.9600 npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i nstall" "bower" "-g" npm ERR! node v0.12.0 npm ERR! npm v2.5.1 npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! syscall connect npm ERR! network connect ETIMEDOUT npm ERR! network This is most likely not a problem with npm itself npm ERR! network and is 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! Please include the following file with any support request: npm ERR! C:\windows\system32\npm-debug.log ```