Skip to content

NPM git dependency's not installing #295

@corbinu

Description

@corbinu

Not sure if this is an NPM issue, but after installing the io.js nightly I am unable to install git dependancies. If this is an NPM issue I can log it there.

I was previously using
NPM 2.2.0
Node 0.12

On OS X 10.10

For example using this package.json

{
    "dependencies": {
        "async": "git+ssh://[email protected]:caolan/async.git#master"
    }
}

gives this error

0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose node symlink /usr/local/bin/node
5 warn package.json @ No description
6 warn package.json @ No repository field.
7 warn package.json @ No README data
8 verbose install where, deps [ '/Users/corbinu/Desktop', [ 'async' ] ]
9 verbose install where, peers [ '/Users/corbinu/Desktop', [] ]
10 info preinstall @
11 silly cache add args [ 'async@git+ssh://[email protected]:caolan/async.git#master',
11 silly cache add   null ]
12 verbose cache add spec async@git+ssh://[email protected]:caolan/async.git#master
13 silly cache add parsed spec { raw: 'async@git+ssh://[email protected]:caolan/async.git#master',
13 silly cache add   scope: null,
13 silly cache add   name: 'async',
13 silly cache add   rawSpec: 'git+ssh://[email protected]:caolan/async.git#master',
13 silly cache add   spec: 'ssh://[email protected]:caolan/async.git#master',
13 silly cache add   type: 'git' }
14 verbose addRemoteGit u="ssh://[email protected]:caolan/async.git#master" silent=false
15 silly addRemoteGit normalized { url: 'ssh://[email protected]:caolan/async.git',
15 silly addRemoteGit   branch: 'master' }
16 silly addRemoteGit v ssh-git-github-com-caolan-async-git-bea77bff
17 verbose addRemoteGit /Users/corbinu/.npm/_git-remotes/ssh-git-github-com-caolan-async-git-bea77bff not in flight; cloning
18 info git [ 'clone',
18 info git   '--template=/Users/corbinu/.npm/_git-remotes/_templates',
18 info git   '--mirror',
18 info git   'ssh://[email protected]:caolan/async.git',
18 info git   '/Users/corbinu/.npm/_git-remotes/ssh-git-github-com-caolan-async-git-bea77bff' ]
19 error git clone ssh://[email protected]:caolan/async.git Cloning into bare repository '/Users/corbinu/.npm/_git-remotes/ssh-git-github-com-caolan-async-git-bea77bff'...
19 error git clone ssh://[email protected]:caolan/async.git ERROR: Repository not found.
19 error git clone ssh://[email protected]:caolan/async.git fatal: Could not read from remote repository.
19 error git clone ssh://[email protected]:caolan/async.git
19 error git clone ssh://[email protected]:caolan/async.git Please make sure you have the correct access rights
19 error git clone ssh://[email protected]:caolan/async.git and the repository exists.
20 verbose stack Error: Command failed: git clone --template=/Users/corbinu/.npm/_git-remotes/_templates --mirror ssh://[email protected]:caolan/async.git /Users/corbinu/.npm/_git-remotes/ssh-git-github-com-caolan-async-git-bea77bff
20 verbose stack Cloning into bare repository '/Users/corbinu/.npm/_git-remotes/ssh-git-github-com-caolan-async-git-bea77bff'...
20 verbose stack ERROR: Repository not found.
20 verbose stack fatal: Could not read from remote repository.
20 verbose stack
20 verbose stack Please make sure you have the correct access rights
20 verbose stack and the repository exists.
20 verbose stack
20 verbose stack     at ChildProcess.exithandler (child_process.js:736:12)
20 verbose stack     at ChildProcess.emit (events.js:119:17)
20 verbose stack     at maybeClose (child_process.js:1000:16)
20 verbose stack     at Socket.<anonymous> (child_process.js:1168:11)
20 verbose stack     at Socket.emit (events.js:116:17)
20 verbose stack     at Pipe.close (net.js:477:12)
21 verbose cwd /Users/corbinu/Desktop
22 error Darwin 14.1.0
23 error argv "node" "/usr/local/bin/npm" "install"
24 error node v1.0.0-nightly201501111b8f37bb4d
25 error npm  v2.2.0
26 error code 128
27 error Command failed: git clone --template=/Users/corbinu/.npm/_git-remotes/_templates --mirror ssh://[email protected]:caolan/async.git /Users/corbinu/.npm/_git-remotes/ssh-git-github-com-caolan-async-git-bea77bff
27 error Cloning into bare repository '/Users/corbinu/.npm/_git-remotes/ssh-git-github-com-caolan-async-git-bea77bff'...
27 error ERROR: Repository not found.
27 error fatal: Could not read from remote repository.
27 error
27 error Please make sure you have the correct access rights
27 error and the repository exists.
28 error If you need help, you may report this error at:
28 error     <http://github.com/npm/npm/issues>
29 verbose exit [ 1, true ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions