neumino / chateau

Another (awesome) data explorer for RethinkDB
207 stars 38 forks source link

Fails to start when the listen port is already taken #39

Closed baruch closed 10 years ago

baruch commented 10 years ago

I tried to install as instructed and get the following upon startup:

connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: listen EADDRINUSE
    at errnoException (net.js:901:11)
    at Server._listen2 (net.js:1039:14)
    at listen (net.js:1061:10)
    at net.js:1135:9
    at dns.js:72:18
    at process._tickCallback (node.js:415:13)
    at Function.Module.runMain (module.js:499:11)
    at startup (node.js:119:16)
    at node.js:902:3
baruch commented 10 years ago

I had another app on port 3000 which is why it didn't start, but the error was unhelpful. Catching the exception and reporting about it would be better.

neumino commented 10 years ago

Agreed, thanks for the feedback @baruch. I'll fix it together with #40

neumino commented 10 years ago

Released in 0.3.8