mongoose-auth
mongoose-auth copied to clipboard
mongooseauth cant install in Windows npm
I am having issue with installing mongooseauth in Windows. Please see the error below
ERR! error rolling back [email protected] Error: ENOTEMPTY, rmdir 'C:\Users\xxx\Documents\My Web Sites\NexusPointExpress\node_modules\mongoose-auth\node_modules\mongoose-types\tests'
ERR! [email protected] install: make build
ERR! cmd "/c" "make build"
failed with 1
ERR!
ERR! Failed at the [email protected] 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 [email protected] install: make build
ERR! message cmd "/c" "make build"
failed with 1
ERR! errno {}
verbose exit [ 1, true ]
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