yinxin630 / fiora

An interesting open source chat application. Developed with node.js, mongoDB, socket.io and react
https://fiora.suisuijiang.com
MIT License
6.65k stars 1.32k forks source link

yarn start提示Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 #519

Closed hatsuyuki2333 closed 2 years ago

hatsuyuki2333 commented 2 years ago
>yarn start
yarn run v1.22.19
$ npx lerna run start --stream
lerna notice cli v4.0.0
lerna info versioning independent
lerna info Executing command in 1 package: "yarn run start"
@fiora/server: $ cross-env NODE_ENV=production DOTENV_CONFIG_PATH=../../.env ts-node -r dotenv/config --transpile-only src/main.ts
@fiora/server: [2022-11-05T03:04:04.796] [ERROR] default - [redis] Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
lerna success run Ran npm script 'start' in 1 package in 13.3s:
lerna success - @fiora/server
Done in 15.71s.
yinxin630 commented 2 years ago

你需要先运行 redis, 可以 google 一下如何运行

hatsuyuki2333 commented 2 years ago

确实忘了运行redis了,汗(