Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

git deps don't work #2175

Closed
paulmillr opened this Issue · 3 comments

3 participants

@paulmillr
  "dependencies": {
    "javascript-brunch": "git@github.com:brunch/javascript-brunch.git"
  },
npm http 404 https://registry.npmjs.org/javascript-brunch
npm ERR! 404 'javascript-brunch' is not in the npm registry.
npm ERR! 404 You could maybe bug the author to publish it
npm ERR! 404 Note that you can also install from a tarball or folder.
npm ERR! 
npm ERR! System Darwin 11.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/paul/Development/test/aaa
npm ERR! node -v v0.6.10
npm ERR! npm -v 1.1.0-beta-10
npm ERR! code E404
npm ERR! message 404 Not Found: javascript-brunch
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/paul/Development/test/aaa/npm-debug.log
npm not ok
@paulmillr

same on npm 1.1.1

@mmalecki
Owner

The following will work:

"dependencies": {
  "javascript-brunch": "git+ssh://git@github.com:brunch/javascript-brunch.git"
},
@isaacs
Owner

You have to give it a url that npm will recognize as a git url, by virtue of being a valid url starting with git+. See the faq.

@isaacs isaacs 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.