NAE数据库错误,Cannot read property 'name_1' of null
发布于 12 年前 作者 philsong 4501 次浏览 最后一次编辑是 8 年前

phil@codereview:~/pingliwang$ nae debug [INFO] * connection established ! 2012-07-26 18:21:23 [LOG_INIT] [/home/admin/cnae/git/cnode-app-engine/lib/modules/net.js:10] LOG_INIT level: WARNING; file: “/home/admin/cnae/git/cnode-app-engine/logs/children.log”. The “sys” module is now called “util”. It should have a similar interface. info: socket.io started config port 80 God bless love… TypeError: Cannot read property ‘name_1’ of null at /home/admin/cnae/git/cnode-app-engine/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:497:23 at /home/admin/cnae/git/cnode-app-engine/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:546:28 at /home/admin/cnae/git/cnode-app-engine/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:125:30 at /home/admin/cnae/git/cnode-app-engine/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:168:32 at [object Object].<anonymous> (/home/admin/cnae/git/cnode-app-engine/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:476:11) at [object Object].emit (events.js:70:17) at [object Object].<anonymous> (/home/admin/cnae/git/cnode-app-engine/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connections/server.js:97:12) at [object Object].emit (events.js:67:17) at Socket.<anonymous> (/home/admin/cnae/git/cnode-app-engine/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection.js:163:16) at Socket.emit (events.js:67:17)TypeError: Cannot read property ‘user_id_1’ of null at /home/admin/cnae/git/cnode-app-engine/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:497:23 at /home/admin/cnae/git/cnode-app-engine/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:546:28 at /home/admin/cnae/git/cnode-app-engine/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:125:30 at /home/admin/cnae/git/cnode-app-engine/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:168:32 at [object Object].<anonymous> (/home/admin/cnae/git/cnode-app-engine/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:476:11) at [object Object].emit (events.js:70:17) at [object Object].<anonymous> (/home/admin/cnae/git/cnode-app-engine/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connections/server.js:97:12) at [object Object].emit (events.js:67:17) at Socket.<anonymous> (/home/admin/cnae/git/cnode-app-engine/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection.js:163:16) at Socket.emit (events.js:67:17)

1 回复

是不是nae不支持mongoose?只支持mongodb!?

回到顶部