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
Started a vue app from scratch and added strybook 8.0.9 and Radix-vue with shadcn-vue. When I try to render a component into a story DropdownMenuContent and open storybook with npm run storybook, it fails to render and it freezes the browser. It crashes the app after 30s-1min with a FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory error.
What I tried:
bumped the space size for NODE using --max-old-space-size=32768
duplicated vite.config.js into storybook, then pointed via main.ts to the colocated one, just to exclude random configurations from there
sourceMap: false from viteFinal within main.ts in .storybook
Apologies if this isn't really a storybook issue, but it happens only in storybook context.
Describe the bug
Started a vue app from scratch and added strybook 8.0.9 and Radix-vue with shadcn-vue. When I try to render a component into a story
DropdownMenuContent
and open storybook withnpm run storybook
, it fails to render and it freezes the browser. It crashes the app after 30s-1min with aFATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
error.What I tried:
--max-old-space-size=32768
Apologies if this isn't really a storybook issue, but it happens only in storybook context.
To Reproduce
DropdownMenuContent
System
Additional context
I suspect this is an issue with typescript. I localised the issue and it happens when I import a type within DropdownMenuContent.
The text was updated successfully, but these errors were encountered: