npm install fails on Linux (from git) #3251

WoZ opened this Issue Mar 14, 2013 · 5 comments


None yet

3 participants

WoZ commented Mar 14, 2013

I'm trying to install from git.

w@w:~/ttt$ npm install git://
npm ERR! git fetch -a origin (git:// error: cannot open FETCH_HEAD: ???????? ? ???????
npm ERR! Error: git "fetch" "-a" "origin" failed with 1
npm ERR! at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:56:20)
npm ERR! at ChildProcess.EventEmitter.emit (events.js:99:17)
npm ERR! at maybeClose (child_process.js:638:16)
npm ERR! at Socket.ChildProcess.spawn.stdin (child_process.js:815:11)
npm ERR! at Socket.EventEmitter.emit (events.js:96:17)
npm ERR! at Socket._destroy.destroyed (net.js:358:10)
npm ERR! at process.startup.processNextTick.process._tickCallback (node.js:245:9)
npm ERR! If you need help, you may report this log at:
npm ERR!
npm ERR! or email it to:
npm ERR!

npm ERR! System Linux 3.2.0-38-generic-pae
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "git://"
npm ERR! cwd /home/w/ttt
npm ERR! node -v v0.8.22
npm ERR! npm -v 1.2.14
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/w/ttt/npm-debug.log
npm ERR! not ok code 0

ralt commented Mar 15, 2013

Can't reproduce. Did you retry later? It may be some network issue (more likely related to git than npm).

luk- commented Mar 15, 2013

This is most likely a git or permission issue

WoZ commented Mar 16, 2013

I have a problem only with this package. Any other package installs ok via git. By the way, it's not a permission problem and I can't reproduce it on the Centos 6 machine. Problem affects Ubuntu 12.04.

P.S. It's strange... Repo clones fine, but npm install fails.

luk- commented Mar 16, 2013

cant reproduce on the same ubuntu platform. can you try it with more verbose logging?

luk- commented May 20, 2013

Closing due to inactivity.

@luk- luk- closed this May 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment