Closed wle8300 closed 10 years ago
I'd love to see this as well. Also, can you specify which node versions you have tested? bcrypt wont npminstall on ubuntu LTS with 10.0.25 (build-essential installed)
Forgot Your Password is an important feature and I will try to add it soon.
@abiank I am running Node.js 0.10.24. Could you post an error log here?
looks like a bcrypt issue, the latest commit installs flawlessly on 10.0.25. here's the log from the old commit:
~/hackathon-starter$ sudo npm install [sudo] password for ale: npm WARN package.json hackathon-starter@0.0.0 No repository field. npm http GET https://registry.npmjs.org/bcrypt npm http 304 https://registry.npmjs.org/bcrypt npm http GET https://registry.npmjs.org/bindings/1.0.0 npm http 304 https://registry.npmjs.org/bindings/1.0.0
bcrypt@0.7.7 install /home/ale/hackathon-starter/node_modules/bcrypt node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/home/ale/.node-gyp/0.10.25"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/ale/hackathon-starter/node_modules/bcrypt/.node-gyp"
gyp http GET http://nodejs.org/dist/v0.10.25/node-v0.10.25.tar.gz
gyp http 200 http://nodejs.org/dist/v0.10.25/node-v0.10.25.tar.gz
Traceback (most recent call last):
File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 18, in gyp
failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:337:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.2.0-51-generic-pae
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ale/hackathon-starter/node_modules/bcrypt
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm ERR! bcrypt@0.7.7 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt@0.7.7 install script.
npm ERR! This is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls bcrypt
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.2.0-51-generic-pae npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! cwd /home/ale/hackathon-starter npm ERR! node -v v0.10.25 npm ERR! npm -v 1.3.24 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/ale/hackathon-starter/npm-debug.log npm ERR! not ok code 0
@abiank In that case it was a good decision to switch to bcrypt-nodejs module. That should also make life easier for Windows developers.
For further information refer to FAQ: https://github.com/sahat/hackathon-starter#why-is-there-no-forgot-password-during-login
Currently there isn't a way to recover the password for an account (those created "locally" using email-password).