octachrome / treason

A clone of the card game Coup written in Node.js
Other
138 stars 79 forks source link

Cannot run locally #5

Closed naobot closed 7 years ago

naobot commented 7 years ago

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 }
naobot commented 7 years ago

Just saw the closed issue for this! Nvm :)

octachrome commented 7 years ago

Sorry I still haven't fixed the docs :(

octachrome commented 7 years ago

I finally fixed the docs :)