-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Bug]: Running multiple dev server concurrently with composition results in applications failing at runtime with 404 Not found manager-bundle.js #24082
Comments
We're having the same issue in our monorepo (although we use Nx for that purpose). For your case @Renaud009 , I believe that you can solve that by setting the In our case we basically set each output directory to something like: theme: node_modules/.cache/storybook/theme I hope it helps! 👍 |
Thanks for your quick answer but the
|
Hmmm ok, indeed we're not using {
core: {
builder: {
name: '@storybook/builder-webpack5',
options: {
outputDir: '<path>'
} as BuilderOptions
},
},
} |
We experience the same. It seems like the problem results from the shared cache between multiple storybooks. An option to specify different cache per dev server should solve the issue. |
Facing the same issue with |
Disabling HMR with |
@shilman |
Describe the bug
Currently running multiple dev server at once with
concurrently
,@storybook/react-vite
framework and a composition setup:When accessing main application at port 6006, it works, all composed components will load as well without issues.
Issue occurs when trying to load port 6007 or 6008, we are seeing a white page and receiving a 404 Not found error on files:
Looks like when running multiple dev server concurrently the storybook cache gets overwritten by each app in a shared cache folder at
node_modules/.cache/storybook/public/sb-addons
. Because, when running the terminals on 3 different repositories everything work fine.Is there any way to configure the storybook cache folder location per application/configuration or deactivate such cache entirely?
To Reproduce
Package.json
Refs on main application configuration:
System
Additional context
No response
The text was updated successfully, but these errors were encountered: