strongloop/loopback-example-user-management

Sample not running

Closed this issue · 3 comments

Hello,
I cloned the source code form github.
I ran a nom install and run the server.
When clicking on the register button, I am getting this error:

user.afterRemote triggered
events.js:141
throw er; // Unhandled 'error' event
^

TypeError: next is not a function
at /WebstormProjects/user-management/loopback-example-user-management/common/models/user.js:20:23
at/WebstormProjects/user-management/loopback-example-user-management/node_modules/loopback/common/models/user.js:421:11

Hey @PhilippeCorreges, thanks for pointing out the issue! We'll get it fixed as soon as we can.

Your are welcome

Fix was applied here #27. Closing.