-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when i try to run the server #25
Comments
Do you have redis up and running in your local? Starting up the app via |
Exactly the same error here. :-/ |
After install "redis": $ npm run run:server $ npm run serve |
Bear in mind Check this out to get it running. |
Thanks @adrigardi90 , that probably was my mistake. At the moment the only thing that still doesn't work is the video, when I try to access the server by local IP (192.168.0.43) and not by localhost, as I indicated in issue #10 . |
@mpena2099 I had the same problem you mentioned with the video and solved it using https. |
npm run run:server
Server Listening on port 3000
events.js:173
throw er; // Unhandled 'error' event
^
Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1083:14)
Emitted 'error' event at:
at RedisClient.onError (C:\git\video-chat\node_modules\socket.io-redis\index.js:118:12)
at RedisClient.emit (events.js:202:15)
at RedisClient.on_error (C:\git\video-chat\node_modules\redis\index.js:406:14)
at Socket. (C:\git\video-chat\node_modules\redis\index.js:279:14)
at Socket.emit (events.js:197:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at processTicksAndRejections (internal/process/next_tick.js:76:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] run:server:
node ./server/index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] run:server script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\rovi.cruz.PH\AppData\Roaming\npm-cache_logs\2020-06-26T05_40_38_619Z-debug.log
The text was updated successfully, but these errors were encountered: