You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
storybook dev -p 6006 -h 0.0.0.0 can make storybook core listens to 0.0.0.0 while rsbuild still listens on localhost network, so that they don't running on the same hostname
The text was updated successfully, but these errors were encountered:
Background
I'm trying to add storybook tests to the CI workflow, but the rsbuild crashes due to a port duplicate:
Reproduction steps
Here is a Dockerfile that describes how to build a problematic image:
Root causes
The following code snippet works on macOS but will throw an error on Linux:
https://github.com/storybookjs/storybook/blob/8505d86feeecd13a8473fa1372cf37500519d136/code/core/src/core-server/dev-server.ts#L66-L69
Workaround
storybook dev -p 6006 -h 0.0.0.0
can make storybook core listens to0.0.0.0
while rsbuild still listens onlocalhost
network, so that they don't running on the same hostnameThe text was updated successfully, but these errors were encountered: