Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

git deps don't work #2175

Closed
paulmillr opened this Issue Feb 20, 2012 · 3 comments

Comments

Projects
None yet
3 participants
Contributor

paulmillr commented Feb 20, 2012

  "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
Contributor

paulmillr commented Feb 20, 2012

same on npm 1.1.1

Owner

mmalecki commented Feb 20, 2012

The following will work:

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

isaacs commented Feb 20, 2012

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 Feb 20, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment