不能再使用mongoDB了

时间:2013-02-06 17:31:33

标签: javascript node.js mongodb mongoose

我正在使用mongoose从node.js应用程序访问Mongodb。但现在我玩这个后会遇到这个奇怪的错误。

[2013-02-06 18:27:36.060] [ERROR] [default] - { [MongoError: assertion db/../bson/bsonobjiterator.h:67] name: 'MongoError' }
MongoError: assertion db/../bson/bsonobjiterator.h:67
at Object.exports.toError (/Users/Development/workspace/node_modules/mongoose/node_modules/mongodb/lib/mongodb/utils.js:108:11)
at Cursor.toArray (/Users/Development/workspace/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:152:37)
at Cursor.nextObject.self.queryRun (/Users/javiermanzanomorilla/Development/workspace/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:594:39)
at Cursor.close (/Users/javiermanzanomorilla/Development/workspace/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:947:5)
at Cursor.nextObject.commandHandler (/Users/javiermanzanomorilla/Development/workspace/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:594:21)
at Db._executeQueryCommand (/Users/javiermanzanomorilla/Development/workspace/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1692:5)
at g (events.js:192:14)
at EventEmitter.emit (events.js:126:20)
at Server.Base._callHandler (/Users/javiermanzanomorilla/Development/workspace/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/base.js:130:25)
at Server.connect.connectionPool.on.server._serverState (/Users/javiermanzanomorilla/Development/workspace/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:517:20)

人?它在每个数据库请求上打印

由于

1 个答案:

答案 0 :(得分:0)

解决!猫鼬是个错误!