Answer the question
In order to leave comments, you need to log in
How to install gulp globally?
Tell me what could be the problem? I'm trying to install gulpjs with the command sudo npm install -g gulp
After a long wait of 10-15 minutes, I get the following output
npm ERR! Linux 3.13.0-58-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "--global" "gulp"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
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! /home/anikolaev/npm-debug.log
[email protected]:~$ npm -v && nodejs -v
2.11.3
v0.12.7
Answer the question
In order to leave comments, you need to log in
Well, in general, it is written in English and white that the problem is with the network, and, most likely, with the proxy. Here are a couple of links: jjasonclark.com/how-to-setup-node-behind-web-proxy wil.boayue.com/blog/2013/06/14/using-npm-behind-a -... strange errors appear, then try to do npm config set registry http://registry.npmjs.org/
this - this will change the address where npm goes for packages to HTTP-shny (instead of the default HTTPS).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question