bnoguchi / mongoose-auth

User authentication plugin for mongoose nodejs orm
https://github.com/bnoguchi/mongoose-auth
740 stars 113 forks source link

mongooseauth cant install in Windows npm #110

Open ldsenow opened 12 years ago

ldsenow commented 12 years ago

I am having issue with installing mongooseauth in Windows. Please see the error below

ERR! error rolling back mongoose-auth@0.0.12 Error: ENOTEMPTY, rmdir 'C:\Users\xxx\Documents\My Web Sites\NexusPointExpress\node_modules\mongoose-auth\node_modules\mongoose-types\tests' ERR! bcrypt@0.5.0 install: make build ERR! cmd "/c" "make build" failed with 1 ERR! ERR! Failed at the bcrypt@0.5.0 install script. ERR! This is most likely a problem with the bcrypt package, ERR! not with npm itself. ERR! Tell the author that this fails on your system: ERR! make build ERR! You can get their info via: ERR! npm owner ls bcrypt ERR! There is likely additional logging output above. ERR! ERR! System Windows_NT 6.1.7601 ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "mongoose-auth" ERR! cwd C:\Users\xxx\Documents\My Web Sites\NexusPointExpress ERR! node -v v0.6.19 ERR! npm -v 1.1.24 ERR! code ELIFECYCLE ERR! message bcrypt@0.5.0 install: make build ERR! message cmd "/c" "make build" failed with 1 ERR! errno {} verbose exit [ 1, true ]

Aerlinger commented 12 years ago

I have the same issue, but haven't been able to fix it. The problem is apparently with bcrypt which is installed with mongoose-auth. There's a more in-depth discussion here: https://github.com/ncb000gt/node.bcrypt.js/issues/77