I'm trying to run this locally and encountering this error when I run node server.js. I'm using the latest versions of npm and node, any ideas why this is happening?
Error log
node server.js
(node:6215) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: not initialized
(node:6215) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Failed to initialise database(s)
{ Error: connect ECONNREFUSED 127.0.0.1:5984
at Object.exports._errnoException (util.js:1050:11)
at exports._exceptionWithHostPort (util.js:1073:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1093:14)
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 5984 }
I'm trying to run this locally and encountering this error when I run
node server.js
. I'm using the latest versions of npm and node, any ideas why this is happening?Error log
node server.js (node:6215) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: not initialized (node:6215) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. Failed to initialise database(s) { Error: connect ECONNREFUSED 127.0.0.1:5984 at Object.exports._errnoException (util.js:1050:11) at exports._exceptionWithHostPort (util.js:1073:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1093:14) code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 5984 }