Skip to content

Not able to signup or log in #2776

Open
@MarinAngelo

Description

@MarinAngelo
  • I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
Item Version
generator-angular-fullstack 3.7.5
Node 10.3.0
npm 6.1.0
Operating System Ubuntu 16.04
Item Answer
Transpiler Babel
Markup HTML
CSS Styus
Router ui-router
Client Tests Mocha
DB MongoDB
Auth Y

I am not able to signup or login anymore. When singning up I have the following errors:
in the terminal:
`crypto.js:694
throw new TypeError(
^

TypeError: The "digest" argument is required and must not be undefined
at pbkdf2 (crypto.js:694:11)
at Object.exports.pbkdf2 (crypto.js:682:10)
at model.encryptPassword (/home/marinangelo/web/ubsfit/server/api/user/user.model.js:221:19)
at /home/marinangelo/web/ubsfit/server/api/user/user.model.js:120:12
at RandomBytes.ondone (/home/marinangelo/web/ubsfit/server/api/user/user.model.js:190:9)
Stopping Express server`

in the browser console:
POST http://localhost:9000/api/users net::ERR_CONNECTION_REFUSED

and

angular.js:14199 TypeError: Cannot read property 'errors' of null at signup.controller.js:40 at processQueue (angular.js:16696) at angular.js:16712 at Scope.$eval (angular.js:17994) at Scope.$digest (angular.js:17808) at Scope.$apply (angular.js:18102) at done (angular.js:12082) at completeRequest (angular.js:12291) at XMLHttpRequest.requestError (angular.js:12229)

Any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions