-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Can not build-storybook, may be out of memory #15548
Comments
I seem to have the same issue at the moment. |
Sorry I seemed to have fixed the issue, there was a typescript error. |
@albseb511 thank you. I tried these, but still not work |
Got the same issue.
Workaround is to disable sourcemap in main.js async viteFinal(config, { configType }) {
config.resolve.dedupe = ["@storybook/client-api"];
const { config: userConfig } = await loadConfigFromFile(resolve(__dirname, "../vite.config.ts"));
const finalConfig = mergeConfig(config, {
...userConfig,
build: {
...config.build,
sourcemap: false
},
...
} |
We’re cleaning house! Storybook has changed a lot since this issue was created and we don’t know if it’s still valid. Please open a new issue referencing this one if:
|
Describe the bug
The build-storybook command stops at 92% .
To Reproduce
this is my repository https://github.com/inspire-lts/taskbox
System
OS: Windows 10
Browser: Chrome
Framework: React
Version: 6.3.0
node: v14.16.1
Additional context
I try to fix it:
NODE_OPTIONS=--max_old_space_size=4096
typescript: { reactDocgen: 'react-docgen' },
typescript: { reactDocgen: 'none' },
#6408
#14355
The text was updated successfully, but these errors were encountered: