我在启动enkto时完成了enketo-express安装,它显示如下错误。我使用此命令启动enketo" npm start"
AbortError: Ready check failed: Redis connection lost and command aborted. It might have been processed.
at RedisClient.flush_and_error (enketo-express/node_modules/redis/index.js:362:23)
at RedisClient.connection_gone (enketo-express/node_modules/redis/index.js:664:14)
at Socket. (enketo-express/node_modules/redis/index.js:293:14)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:111:20)
at Socket.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
Worker 7873 sadly passed away. It will be reincarnated.
注意:遵循this doc步骤号:7
答案 0 :(得分:0)
检查netstat -ntlp 哪个端口使用8005
或在某些情况下在端口6380上运行的东西
"cache": {
"host": "127.0.0.1",
"port": "6379", # change port from 6380
"password": null
}
此外,不同的节点版本也会导致类似的问题。使用自述文件版本,如自述文件中所述
https://github.com/kobotoolbox/enketo-express/issues/528