Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

注册时出错,系统自动退出! #12

Closed
hfeeki opened this issue Jan 31, 2013 · 0 comments
Closed

注册时出错,系统自动退出! #12

hfeeki opened this issue Jan 31, 2013 · 0 comments

Comments

@hfeeki
Copy link

hfeeki commented Jan 31, 2013

canku/routes/user.js:112
if (!err & user.length > 0) {
^
TypeError: Cannot read property 'length' of undefined
at exports.register (/home/michael/repos/nodejsprojects/canku/routes/user.js:112:30)
at Object.exports.error (/home/michael/repos/nodejsprojects/canku/node_modules/mongoskin/lib/mongoskin/utils.js:27:5)
at EventEmitter.exports.bindSkin.obj.(anonymous function) (/home/michael/repos/nodejsprojects/canku/node_modules/mongoskin/lib/mongoskin/utils.js:66:17)
at EventEmitter.g (events.js:192:14)
at EventEmitter.emit (events.js:99:17)
at SkinCollection.open (/home/michael/repos/nodejsprojects/canku/node_modules/mongoskin/lib/mongoskin/collection.js:114:31)
at EventEmitter.g (events.js:192:14)
at EventEmitter.emit (events.js:99:17)
at null. (/home/michael/repos/nodejsprojects/canku/node_modules/mongoskin/lib/mongoskin/db.js:99:22)
at SkinDb.open (/home/michael/repos/nodejsprojects/canku/node_modules/mongoskin/lib/mongoskin/db.js:110:11)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants