storybook: Webpack5: Addons throw error on start
Describe the bug
After updating to use the webpack5 builder with Storybook 6.2.0-beta.1 running storybook-start builds successfully but after opening the tab, there is a loading spinner with error.
Uncaught (in promise) RangeError: Maximum call stack size exceeded
at Object.exports.deprecate (vendors-node_modules_storybook_addon-a11y_dist_esm_register_js-node_modules_storybook_addon-a-4deea9.b4c677ad3a67aca938fd.bundle.js:126199)
Seems to also happen from the other addons when I start disabling some.
To Reproduce Steps to reproduce the behavior:
- Use Webpack5 builder (followed this example repo)
- Run storybook-start
- Notice error in the console
Expected behavior Addons work as expected.
Screenshots If applicable, add screenshots to help explain your problem.
Code snippets If applicable, add code samples to help explain your problem.
System
Environment Info:
System:
OS: macOS 10.15.7
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Binaries:
Node: 14.15.1 - ~/.nvm/versions/node/v14.15.1/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.11 - ~/.nvm/versions/node/v14.15.1/bin/npm
Browsers:
Chrome: 89.0.4389.82
Edge: 88.0.705.63
Firefox: 86.0
Safari: 14.0.3
npmPackages:
@storybook/addon-a11y: ^6.2.0-beta.1 => 6.2.0-beta.1
@storybook/addon-actions: ^6.2.0-beta.1 => 6.2.0-beta.1
@storybook/addon-controls: ^6.2.0-beta.1 => 6.2.0-beta.1
@storybook/addon-docs: ^6.2.0-beta.1 => 6.2.0-beta.1
@storybook/addon-postcss: ^2.0.0 => 2.0.0
@storybook/addon-storysource: ^6.2.0-beta.1 => 6.2.0-beta.1
@storybook/addon-viewport: ^6.2.0-beta.1 => 6.2.0-beta.1
@storybook/addons: ^6.2.0-beta.1 => 6.2.0-beta.1
@storybook/builder-webpack5: 6.2.0-beta.1 => 6.2.0-beta.1
@storybook/react: ^6.2.0-beta.1 => 6.2.0-beta.1
@storybook/source-loader: ^6.2.0-beta.1 => 6.2.0-beta.1
@storybook/theming: ^6.2.0-beta.1 => 6.2.0-beta.1
@storybook/web-components: ^6.2.0-beta.1 => 6.2.0-beta.1
Additional context Add any other context about the problem here.
┆Issue is synchronized with this Asana task by Unito
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (8 by maintainers)
Awesome. I bet that was it! Closing this for now.