Skip to content
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

User friendly error message #1

Open
jalakoo opened this issue Aug 28, 2017 · 1 comment
Open

User friendly error message #1

jalakoo opened this issue Aug 28, 2017 · 1 comment

Comments

@jalakoo
Copy link

jalakoo commented Aug 28, 2017

Hey, thanks for building this. Minor thing, but first time I ran the bridge port 3000 was in use, so I experienced the following console output:

events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::3000
    at Object._errnoException (util.js:1041:11)
    at _exceptionWithHostPort (util.js:1064:20)
    at Server.setupListenHandle [as _listen2] (net.js:1322:14)
    at listenInCluster (net.js:1370:12)
    at Server.listen (net.js:1466:7)
    at Object.createServer (/usr/local/lib/node_modules/ever-layout-bridge/lib/network.js:26:8)
    at Object.<anonymous> (/usr/local/lib/node_modules/ever-layout-bridge/lib/ever-layout-bridge.js:66:9)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)```

Fairly clear from the stack track but a friendly one-line message error (or auto alternate port selection) would be solid.
@acrocat
Copy link
Owner

acrocat commented Jan 23, 2018

@Stitarmare The issue being reported is just that the error message is ugly. I'm embarrassed to admit that I still haven't looked into this... but I will! If you're seeing this error though you can resolve it by hosting on a different port:

ever-layout-bridge --port=3333

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants