jedireza / aqua

:bulb: A website and user system starter
https://jedireza.github.io/aqua/
MIT License
1.38k stars 356 forks source link

Resetting password issue and npm test failed #276

Closed Alin-Daniel closed 6 years ago

Alin-Daniel commented 6 years ago

Hello everyone,

I downloaded the sample project and I run into few issues. I created an user on mongolab with email and password via register page, the user is in the database, but when I go to forgot password and enter the same email i get An internal server error occurred and this only happens if the email address exists in database, if i try to add a random email address I get a success message. It s really confusing. Also if i run npm test I get error:

`C:\Users\Home\Desktop\aqua-master\event\test\client\pages\admin\components\f r-form-fixture.jsx:26

^ SyntaxError: Unexpected token < at createScript (vm.js:56:10) at Object.runInThisContext (vm.js:97:10) at Module._compile (module.js:542:28) at Object.require.extensions.(anonymous function) [as .js] (C:\Users\Hom sktop\aqua-master\event\node_modules\lab\lib\coverage.js:37:28) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (C:\Users\Home\Desktop\aqua-master\event\test\clie ages\admin\components\filter-form-hoc.js:3:20) at Module._compile (module.js:570:32) at Object.require.extensions.(anonymous function) [as .js] (C:\Users\Hom sktop\aqua-master\event\node_modules\lab\lib\coverage.js:37:28) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at testFiles.forEach (C:\Users\Home\Desktop\aqua-master\event\node_modul ab\lib\cli.js:132:21) at Array.forEach (native) at Object.internals.traverse (C:\Users\Home\Desktop\aqua-master\event\no odules\lab\lib\cli.js:128:15) at Object.exports.run (C:\Users\Home\Desktop\aqua-master\event\node_modu lab\lib\cli.js:62:31) at Object. (C:\Users\Home\Desktop\aqua-master\event\node_modu lab\bin\lab:50:23) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.runMain (module.js:604:10) at run (bootstrap_node.js:389:7) at startup (bootstrap_node.js:149:9) at bootstrap_node.js:502:3 npm ERR! Test failed. See above for more details.`