mongoose-auth
                                
                                
                                
                                    mongoose-auth copied to clipboard
                            
                            
                            
                        Doesn't install out-of-the-box on Windows (without cygwin)
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)
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?
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).
Question: why do you need to use bcrypt in the first place? Doesn't node.js's build-in Crypt module provide sufficient functions?