Note that there are some explanatory texts on larger screens.

plurals
  1. PONPM install : Git URL dependency error in package.json
    text
    copied!<p>I want to set a dependency that is a Git URL of a private package in package.json I write :</p> <pre><code>"dependencies" : { "mymodule" : "git://git@git.myrepo.com:/myproject#mybranch" } </code></pre> <p>When running <code>npm install</code> I get this error :</p> <pre><code>git clone git://git@git.myrepo.com:/myproject.git Cloning into bare repository '/hom /Ostro/.npm/_git-remotes/git-git-myrepo-com-myproject-git-4d838f3d'... npm ERR! git clone git://git.myrepo.com:/myproject.git npm ERR! git clone git://git.myrepo.com:/myproject.git fatal: Unable to look up git.myrepo.com (port ) (Servname() not supported for ai_socktype) npm ERR! Error: git "clone" "--mirror" "git://git.myrepo.com:/myproject.git" "/hom /Ostro/.npm/_git-remotes/git-git-myrepo-com-myproject-git-4d838f3d" failed with 128 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) </code></pre> <p>But it looks like npm call <code>git clone --mirror git://git.myrepo.com ...etc</code> does it not suppose to call <code>git clone --mirror git.myrepo.com ...etc</code> instead ?</p> <p>Do someone already face that ? or have any clue ?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload