-
-
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]: Storybook couldn't evaluate your .storybook/main.ts file #30115
Comments
Related esbuild bug: evanw/esbuild#4010 |
* remove obsolete MapApp component * fix storybook build See storybookjs/storybook#30115 * fix storybook * fix storybook * fix storybook * fix storybook * update install steps in other workflows * lint
This issue has been (esbuild downgraded) fixed in 8.5.0-beta.4 and will be fixed in 8.4.8, follow the release PR here: #29834 |
Update, the maintainer of esbuild made a fix and will release a new version soon, so all you'll have to do is update your yarn lock once that happens. |
Esbuild 0.24.2 has released and seems to have fixed this issue for me - update your lockfiles and you should be fine :) |
Confirmed that updating Esbuild from 0.24.1 to 0.24.2 fixed it for me. |
Released a couple of weeks ago :) This currently requires us to force storybook vite builder to resolve esbuild to 0.24.0, despite vite 6.0.5 pinning this dependency. See storybookjs/storybook#30115
Describe the bug
Error message:
esbuild
released a new version recently, containing a bug, affecting all Vite-based Storybooks.Workaround
Pin the version of
esbuild
to the latest known working version,0.24.0
(npm, pnpm):Use
resolutions
field inyarn
projects:The text was updated successfully, but these errors were encountered: