cannot install with express 3.x
Hi,
You mention If you are using Express 3.x, install via: $ npm install git://github.com/bnoguchi/everyauth.git#express3 which gives:
npm ERR! git checkout express3@* error: pathspec 'express3@_' did not match any file(s) known to git.
npm ERR! Error: git "checkout" "express3@_" failed with 1
Also, please mention what one should place in package.json deps. Should it be "dependencies": { "git://github.com/bnoguchi/everyauth.git#express3": "*", ...
?
I have the same issue...
I still don't have everyauth working with Express 3.x just yet, but it looks like I was able to install the express3 branch by placing this in package.json:
"dependencies": {
"express": "git://github.com/bnoguchi/everyauth.git#express3"
...
and then of course follow it up with a npm install -d
Hello,
When I sudo npm install git://github.com/bnoguchi/everyauth.git#express3
npm ERR! git clone git://github.com/bnoguchi/everyauth.git
npm ERR! Error: `git "clone" "git://github.com/bnoguchi/everyauth.git" "/home/cydgy/tmp/npm-3573/1348669211775-0.46629538480192423"` failed with 127
...
my express version is: 3.0.0rc1
Thanks (sorry if it's a noob question)
CydGy, rather than running sudo npm install [address] at the command line, edit your package.json file in accordance to my comment above and run npm install -d, which tells npm to install dependencies defined in the package.json file. BTW, you shouldn't need to use sudo when you're installing modules into the local folder.
Doesn't work, but no problem because since, I decided to write my own module (don't use express, socketio, everyauth..). This allow me to do just what I need and everything depends on me, not on the other.
Thank you anyway ! :)
Hello is there any progress i still can not install it. i have tried to define in dependencies and run npm install -d still getting same error.
Wierd enough, I had the same issue on my mac. I moved from zsh to bash and it installed....
:(