[@storybook/addon-a11y]: Critical dependency issue
See original GitHub issueDescribe the bug
Enabling @storybook/addon-a11y logs this dependency error.
⚠️ Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
- The issue seems to be present at least from
6.1.19to6.1.21. - Disabling the addon fixes the issue.
- While the error is logged, it doesn’t seem to affect the app
Expected behavior The console should run without errors
Screenshots

System System: OS: macOS 11.1 CPU: (8) x64 Intel® Core™ i7-4770HQ CPU @ 2.20GHz Binaries: Node: 14.15.4 - /usr/local/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 6.14.10 - /usr/local/bin/npm Browsers: Chrome: 89.0.4389.90 Firefox: 86.0.1 Safari: 14.0.2
Issue Analytics
- State:
- Created 2 years ago
- Reactions:21
- Comments:11 (4 by maintainers)
Top Results From Across the Web
@storybook/addon-a11y - npm
Start using @storybook/addon-a11y in your project by running `npm i @storybook/addon-a11y`. There are 469 other projects in the npm registry ...
Read more >@storybook/addon-a11y | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >storybook-addon-a11y | npm | Open Source Insights
storybook-addon-a11y. history ... In the dependencies. Exposure of Sensitive Information in eventsource. 9.3 CRITICAL·GHSA-6h5x-7c5m-7cr7.
Read more >storybook-amp - NPM Package Overview - Socket - Socket.dev
Storybook addon for AMP (Accelerated Mobile Pages). Allows to display in your stories AMP Html ... Dependencies have 1 critical issue. Install scripts ......
Read more >storybook digital envelope routines::unsupported - You.com
I found this solution https://github.com/webpack/webpack/issues/14532 ... Chromium (102.0.1245.44) npmPackages: @storybook/addon-a11y: ^6.5.9 => 6.5.9 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Try upgrading to the latest prerelease:
Does that fix it?
@shilman @mts turns out it was because of issue in
axe-core@4.1.3https://github.com/dequelabs/axe-core/pull/2843Tried to reproduce using fresh install, the issue disappeared because there is a new release of
axe-core@4.1.4that resolves this.