Skip to content


Subversion checkout URL

You can clone with
Download ZIP


npm install fails on Linux (from git) #3251

WoZ opened this Issue · 5 comments

3 participants


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


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


This is most likely a git or permission issue


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.


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


Closing due to inactivity.

@luk- luk- closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.