When running my ember application with ember serve -e local
I get:
Port 4200 is already in use.
Which is weird because no application is running on 4200. I tried to open a dummy HTTP server on 4200 with http-server and it works just fine. It also works when I specify the port via a command line flag ember serve --port 4200
.
Some things I've tried:
node_modules
.tmp
directory.Any thoughts?
I'm running on masOS High Sierra 10.13.6 with the following versions:
Also useful to know:
After further investigation, it seems that the problem is not coming from macOS, but from something messed up in the dependencies causing ember-cli
to fail...
It's not quite clear what is causing this, and I will try to post any additional information here, but for now if you happen to encounter this problem, just pass the port value directly to ember-cli
like so:
ember serve --port 4200