Can you try npm install -g npm@latest? and then try again.
NPM INSTALL ETIMED OUT ERROR
I have been facing this issue all day long, and i finally give up and would request help of some experts out here. When i run a command 'npm install' from the root of the directory of my laravel project using 'cmd' ,on windows 7 , xampp, with firewall turned off , no anti-virus software, and not using any proxy server for sure, i always get this error.
C:\xampp\htdocs\gulp_test>npm install npm ERR! Windows_NT 6.1.7600 npm ERR! argv "node" "C:\Users\Varun\AppData\Roaming\npm\node_modules\npm \bin\npm-cli.js" "install" npm ERR! node v0.12.7 npm ERR! npm v2.13.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 settin gs. 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:\xampp\htdocs\gulp_test\npm-debug.log
I only get this error when i run 'npm install' or 'npm install laravel-elixir' but not when i run 'npm install gulp' or 'npm install express'.
Also when i run 'npm install' it installs a folder named node_modules under root directory, but it does not install folder of 'LARAVEL-ELIXIR'.. Could it be because of the above mentioned error??
I have also tried the following options to get GULP working
- 'npm cache clean'
- Re-install node
- Running 'npm install gulp' , 'npm install laravel-elixir' individually, one after another 4)composer update
- Connecting my personal hotspot instead of WiFi, in case there would have been some network related issue.
But none of the above worked.
Any suggestions as of what can be done to get 'npm install' function as it should??
Please or to participate in this conversation.