florianheinemann / passwordless-mongostore

Token store for Passwordless using MongoDB
https://passwordless.net
MIT License
34 stars 29 forks source link

Dependency bump #17

Open epiccoolguy opened 5 years ago

epiccoolguy commented 5 years ago

Updated dependencies and solved deprecation warnings

zhicong commented 4 years ago

This pull request needs to be merged!! I spent an entire day debugging this install error for the original passwordless-mongostore package, only to find out it was an error with the old bcrypt: ^0.8.7 dependency that has long ago been fixed!

make: *** [Release/obj.target/bcrypt_lib/src/bcrypt_node.o] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:311:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Darwin 17.7.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd //node_modules/bcrypt gyp ERR! node -v v12.16.1 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok

Since it looks like this project is dead, for anyone stumbling onto this, you should add this fork instead using its tarball: npm install https://github.com/epiccoolguy/passwordless-mongostore/tarball/6eff24e0240c8a623a172e955c404a1a4349519a