You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.
I found out about NodeJS a few days ago and I like it. I'm planning to get involved in a project and I'm still looking around. When I logged with the admin acount I got the following exception:
26 Jun 12:23:15 - info: Content types module installed ...
26 Jun 12:23:15 - info: User module installed ...
Uncaught exception: TypeError: Cannot read property 'isAdmin' of undefinedTypeError: Cannot read property 'isAdmin' of undefined
at /home/ddragostinov/Node/calipso/modules/core/user/user.module.js:595:34
at Array.forEach (native)
at isUserAdmin (/home/ddragostinov/Node/calipso/modules/core/user/user.module.js:594:14)
at createUserSession (/home/ddragostinov/Node/calipso/modules/core/user/user.module.js:606:17)
at /home/ddragostinov/Node/calipso/modules/core/user/user.module.js:566:13
at /home/ddragostinov/Node/calipso/node_modules/mongoose/lib/mongoose/query.js:794:7
at model.init (/home/ddragostinov/Node/calipso/node_modules/mongoose/lib/mongoose/document.js:147:5)
at /home/ddragostinov/Node/calipso/node_modules/mongoose/lib/mongoose/query.js:792:12
at [object Object]. (/home/ddragostinov/Node/calipso/node_modules/mongoose/support/node-mongodb-native/lib/mongodb/collection.js:462:35)
at [object Object].emit (events.js:67:17)
^Cddragostinov@ubuntu:~/Node/calipso$ node app.js
The second time i ran the app it worked fine.
The text was updated successfully, but these errors were encountered:
Hi guys,
I found out about NodeJS a few days ago and I like it. I'm planning to get involved in a project and I'm still looking around. When I logged with the admin acount I got the following exception:
26 Jun 12:23:15 - info: Content types module installed ...
26 Jun 12:23:15 - info: User module installed ...
Uncaught exception: TypeError: Cannot read property 'isAdmin' of undefinedTypeError: Cannot read property 'isAdmin' of undefined
at /home/ddragostinov/Node/calipso/modules/core/user/user.module.js:595:34
at Array.forEach (native)
at isUserAdmin (/home/ddragostinov/Node/calipso/modules/core/user/user.module.js:594:14)
at createUserSession (/home/ddragostinov/Node/calipso/modules/core/user/user.module.js:606:17)
at /home/ddragostinov/Node/calipso/modules/core/user/user.module.js:566:13
at /home/ddragostinov/Node/calipso/node_modules/mongoose/lib/mongoose/query.js:794:7
at model.init (/home/ddragostinov/Node/calipso/node_modules/mongoose/lib/mongoose/document.js:147:5)
at /home/ddragostinov/Node/calipso/node_modules/mongoose/lib/mongoose/query.js:792:12
at [object Object]. (/home/ddragostinov/Node/calipso/node_modules/mongoose/support/node-mongodb-native/lib/mongodb/collection.js:462:35)
at [object Object].emit (events.js:67:17)
^Cddragostinov@ubuntu:~/Node/calipso$ node app.js
The second time i ran the app it worked fine.
The text was updated successfully, but these errors were encountered: