mongoose-auth icon indicating copy to clipboard operation
mongoose-auth copied to clipboard

Doesn't install out-of-the-box on Windows (without cygwin)

Open jsalonen opened this issue 13 years ago • 3 comments

I know this is a problem with an upstream package, but I want to report it nonetheless.

Mongoose-auth doesn't install out-of-the-box on Windows (without cygwin). With:

npm install mongoose-auth

I get:

'make' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! error installing [email protected]
npm ERR! error installing [email protected]

See associated issue (71) on node.bcrypt.js (https://github.com/ncb000gt/node.bcrypt.js/issues/71)

jsalonen avatar Apr 21 '12 10:04 jsalonen

Trying to get this package installed on a windows machine, and of course I get this problem. I installed Cygwin and now I can run make, but only through the Cygwin terminal, where NPM is not available.

How should we get around this problem?

OClement avatar Apr 29 '12 03:04 OClement

Only password authentication is dependent on bcrypt (lib/modules/password/plugin.js). If we don't use password authentication, I guess it would be ok to just omit bcrypt. In the long run, I hope node.bcrypt.js will be fixed to work on Windows (wihtout cygwin).

jsalonen avatar Apr 29 '12 09:04 jsalonen

Question: why do you need to use bcrypt in the first place? Doesn't node.js's build-in Crypt module provide sufficient functions?

jsalonen avatar May 02 '12 09:05 jsalonen