quick-pomelo 运行过程中报错
发布于 6 年前 作者 lvhy 2743 次浏览 来自 问答

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

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 回复

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

回到顶部