npm http request GET https://registry.npmjs.org/gulp
npm info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=write EPROTO 140613244589888:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:794:
npm info retry
npm info attempt registry request try #2 at 00:30:57
npm http request GET https://registry.npmjs.org/gulp
npm info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=write EPROTO 140613244589888:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:794:
npm info retry
simon@HP:~$ sudo npm i -g gulp --verbose
npm info it worked if it ends with ok
npm verb cli [ '/usr/local/bin/node',
npm verb cli '/usr/local/bin/npm',
npm verb cli 'i',
npm verb cli '-g',
npm verb cli 'gulp',
npm verb cli '--verbose' ]
npm info using npm@3.7.3
npm info using node@v5.9.0
npm verb request uri https://registry.npmjs.org/gulp
npm verb request no auth needed
npm info attempt registry request try #1 at 00:25:47
npm verb request id 8a56b265b3c276e2
npm http request GET https://registry.npmjs.org/gulp
simon@HP:~$ sudo npm install -g --verbose
npm info it worked if it ends with ok
npm verb cli [ '/usr/local/bin/node',
npm verb cli '/usr/local/bin/npm',
npm verb cli 'install',
npm verb cli '-g',
npm verb cli '--verbose' ]
npm info using npm@3.7.3
npm info using node@v5.9.0
npm verb cache add spec .
npm ERR! addLocal Could not install /home/simon
npm verb stack Error: EISDIR: illegal operation on a directory, read
npm verb stack at Error (native)
npm verb cwd /home/simon
npm ERR! Linux 4.4.0-14-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "--verbose"
npm ERR! node v5.9.0
npm ERR! npm v3.7.3
npm ERR! code EISDIR
npm ERR! errno -21
npm ERR! syscall read
npm ERR! eisdir EISDIR: illegal operation on a directory, read
npm ERR! eisdir This is most likely not a problem with npm itself
npm ERR! eisdir and is related to npm not being able to find a package.json in
npm ERR! eisdir a package you are trying to install.
npm verb exit [ -21, true ]
npm ERR! Please include the following file with any support request:
npm ERR! /home/simon/npm-debug.log
За jQuery из гугловских серверов спасибо. Судя по ответам друх пользователей самый лучший вариант вместе с вариантом Андрей Андреев - так достаточно бронебойное решение)