-
Notifications
You must be signed in to change notification settings - Fork 345
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
[Docker][ShopBundle] Error: listen EADDRINUSE: address already in use :::35729 #361
Comments
@FabienSalles did you manage to find a solution for this problem? I just started with Sylius and am running into the same problem |
Can confirm, looks the same for me on a fresh installation. |
Anyone found solution? |
@roelvanhoof sorry for my late response and no, I didn't find a solution because I installed Sylius distribution just for testing it. At the time I had to develop an ecommerce website without the front end and the sylius administration so I didn't waste much time on it. I saw the same problem when I recently dockerized the plugin skeleton using the docker configuration of the distribution but this does not prevent the application from working |
We faced the same issue with v1.9. We used the workaround to simply comment out the nodejs service in the docker-compose.yml file. We don't need the nodejs container with the |
It has changed - production compose command is yarn build and development is yarn watch |
Hello,
When we retrieve this project and we launch docker-compose up we can see this error :
This is due to the fact that nodejs container use the command
yarn watch
in the Dockerfile.This task launch 2 sub-tasks that used
livereload.listen()
without specified any ports (in
vendor/sylius/sylius/src/Sylius/Bundle/ShopBundle/gulpfile.babel.js
andvendor/sylius/sylius/src/Sylius/Bundle/AdminBundle/gulpfile.babel.js
).In order to fix this we have to specify one different port in one of these sub-tasks or change the command executed by the Dockerfile.
The text was updated successfully, but these errors were encountered: