CNode

quick-pomelo 运行过程中报错

问答
Llvhy发布于8 年前最后回复8 年前1 回复3410 浏览0 收藏

运行过种中有出现下方报错,大概是因为什么原因

Uncaught exception: Error: You are not in any transaction scope at proto._connection (/root/game/majiang/node_modules/quick-pomelo/node_modules/memdb-client/lib/autoconnection.js:317:15) at Object.collection.(anonymous function) [as findOne] (/root/game/majiang/node_modules/quick-pomelo/node_modules/memdb-client/lib/autoconnection.js:342:33) at MemdbCollection.findOne (/root/game/majiang/node_modules/quick-pomelo/node_modules/memdb-client/lib/mongoose-driver/collection.js:215:34) at NodeCollection.findOne (/root/game/majiang/node_modules/quick-pomelo/node_modules/memdb-client/node_modules/mongoose/node_modules/mquery/lib/collection/node.js:38:19) at Query.findOne (/root/game/majiang/node_modules/quick-pomelo/node_modules/memdb-client/node_modules/mongoose/node_modules/mquery/lib/mquery.js:1684:20) at Query._findOne (/root/game/majiang/node_modules/quick-pomelo/node_modules/memdb-client/node_modules/mongoose/lib/query.js:1151:22) at /root/game/majiang/node_modules/quick-pomelo/node_modules/memdb-client/node_modules/mongoose/node_modules/kareem/index.js:156:8 at /root/game/majiang/node_modules/quick-pomelo/node_modules/memdb-client/node_modules/mongoose/node_modules/kareem/index.js:18:7 at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickDomainCallback (internal/process/next_tick.js:122:9)

查看回复

回复 (1)

F
fhawk#1·8 年前

数据库连接错误~~~~~~~~

参与回复
登录后即可参与回复。登录