YMFE / yapi

YApi 是一个可本地部署的、打通前后端及QA的、可视化的接口管理平台
http://yapi.smart-xwork.cn/
Apache License 2.0
27.37k stars 4.79k forks source link

安装问题 #1936

Open luzhenwei opened 4 years ago

luzhenwei commented 4 years ago

部署日志 当前安装版本: 1.9.2 /usr/lib/node_modules/yapi-cli/node_modules/mongodb-core/lib/connection/pool.js:410 if(workItem.socketTimeout) { ^ TypeError: Cannot read property 'socketTimeout' of null at Connection.messageHandler (/usr/lib/node_modules/yapi-cli/node_modules/mongodb-core/lib/connection/pool.js:410:17) at Socket. (/usr/lib/node_modules/yapi-cli/node_modules/mongodb-core/lib/connection/connection.js:363:20) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:601:20)

williamcai663 commented 3 years ago

我也遇到这个问题,你解决了吗

teneous commented 3 years ago

我也遇到这个问题,你解决了吗

你是没有启动mongo吧

zhcfcl commented 3 years ago

我这里出现这个问题的原因是因为我使用了mysql数据库,没有使用mangodb。 更换为mangodb就可以了。