npm run run:server
video-chat@0.1.0 run:server C:\git\video-chat
node ./server/index.js
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! video-chat@0.1.0 run:server: node ./server/index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the video-chat@0.1.0 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
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! video-chat@0.1.0 run:server:
node ./server/index.jsnpm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the video-chat@0.1.0 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