-
Notifications
You must be signed in to change notification settings - Fork 171
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
Can’t run more than one development server #1043
Comments
Relates to #713 |
Not sure it relates to #713 - that change was released a while ago. What version of Fractal did you update from? In this repository, if I try to start two of the projects in the examples directory without sync, the first one starts on port 3000 and the second on port 3001. So I'm afraid I can't reproduce this right now without more info. Looking at sindresorhus/get-port#31, we already specify host so it would always look at IPv4 ports. Not sure what else we can do here. |
@mihkeleidast If have updated fractal from version 1.5.0. If I try to setup fractal using the handlebars example (https://github.com/frctl/fractal/tree/main/examples/handlebars), I get en error when running |
What error? The handlebars example is not meant to be installed standalone, as it depends on private packages only existing in this repository - but you should be able to do:
|
Thanks for the help with this. I have tested to start two Fractal development servers as you described above and still got the error message that the address is already in use. |
Update: sindresorhus/get-port#56 got merged today, but the module is now also full ESM, which makes it hard to update for us :( |
After updating Fractal to v1.5.8 it isn’t possible anymore to run more than one development server (
Error: listen EADDRINUSE: address already in use :::3000
). Before the update starting a second server automatically increments the port.Steps to reproduce the issue
fractal start
.fractal start
.Error: listen EADDRINUSE: address already in use :::3000
Reproduces how often:
This will happen every time; but if you use
fractal start --sync
the second server starts with an automatically incremented port.Context
The text was updated successfully, but these errors were encountered: