everyauth icon indicating copy to clipboard operation
everyauth copied to clipboard

cannot install with express 3.x

Open mariusa opened this issue 13 years ago • 8 comments

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": "*", ...

?

mariusa avatar Sep 11 '12 17:09 mariusa

I have the same issue...

Philmod avatar Sep 19 '12 14:09 Philmod

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

don-smith avatar Sep 22 '12 12:09 don-smith

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)

ghost avatar Sep 26 '12 14:09 ghost

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.

don-smith avatar Sep 30 '12 01:09 don-smith

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 ! :)

ghost avatar Oct 03 '12 11:10 ghost

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.

ertugrultas avatar Oct 07 '12 21:10 ertugrultas

Wierd enough, I had the same issue on my mac. I moved from zsh to bash and it installed....

shlomizadok avatar Jan 08 '13 20:01 shlomizadok

:(

ghost avatar Jan 13 '13 19:01 ghost