Answer the question
In order to leave comments, you need to log in
What's wrong with npm?
Hello.
I am learning Laravel. Now I have reached Laravel Elixir.
I installed npm with the help aptitude install npm
I write the command npm install --global gulp
I have it
in the log file
info it worked if it ends with ok verbose cli [ 'node', '/usr/bin/npm', 'install', '--global', 'gulp' ] info using [email protected] info using [email protected] verbose config file /root/.npmrc verbose config file /usr/etc/npmrc verbose config file /usr/share/npm/npmrc silly exec /usr/bin/node "/usr/share/npm/bin/npm-get-uid-gid.js" "nobody" 0 silly spawning [ '/usr/bin/node', silly spawning [ '/usr/share/npm/bin/npm-get-uid-gid.js', 'nobody', 0 ], silly spawning null ] silly output from getuid/gid {"uid":65534,"gid":0} silly output from getuid/gid verbose cache add [ 'gulp', null ] silly cache add: name, spec, args [ undefined, 'gulp', [ 'gulp', null ] ] verbose parsed url { pathname: 'gulp', path: 'gulp', href: 'gulp' } verbose addNamed [ 'gulp', '' ] verbose addNamed [ null, '' ] silly name, range, hasData [ 'gulp', '', false ] verbose raw, before any munging gulp verbose url resolving [ 'https://registry.npmjs.org/', './gulp' ] verbose url resolved https://registry.npmjs.org/gulp http GET https://registry.npmjs.org/gulp ERR! Error: failed to fetch from registry: gulp ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12 ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9) ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18) ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22) ERR! at Request.<anonymous> (/usr/lib/nodejs/request/main.js:212:58) ERR! at Request.emit (events.js:88:20) ERR! at ClientRequest.<anonymous> (/usr/lib/nodejs/request/main.js:412:12) ERR! at ClientRequest.emit (events.js:67:17) ERR! at HTTPParser.onIncoming (http.js:1261:11) ERR! at HTTPParser.onHeadersComplete (http.js:102:31) ERR! You may report this log at: ERR! <http://bugs.debian.org/npm> ERR! or use ERR! reportbug --attach /var/www/game/npm-debug.log npm ERR! ERR! System Linux 3.2.0-97-generic ERR! command "node" "/usr/bin/npm" "install" "--global" "gulp" ERR! cwd /var/www/game ERR! node -v v0.6.12 ERR! npm -v 1.1.4 ERR! message failed to fetch from registry: gulp verbose exit [ 1, true ]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question