storybookjs / storybook

Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
https://storybook.js.org
MIT License
84.01k stars 9.23k forks source link

[Bug]: The accessibility scan encountered an error. {"name":"TypeError"} #26855

Open Rajdeepc opened 5 months ago

Rajdeepc commented 5 months ago

Describe the bug

I am trying to load Storybook with the below plugins:

  "@storybook/addon-a11y": "^7.5.0",
  "@storybook/addon-essentials": "^7.5.0",
  "@storybook/addon-links": "^7.5.0",
  "@storybook/web-components": "^7.5.0",
  "@web/dev-server": "^0.4.3",
  "@web/storybook-builder": "^0.1.7",
  "@web/storybook-framework-web-components": "^0.1.1"
        ......

I am encountering the below error. Not sure if this something related to storybook config or if from the @web-dev-server` side.

Screenshot 2024-04-16 at 5 00 35 PM

To Reproduce

Goto here Press d Check Accessibility Tab

System

"storybook": "^7.5.0",

Additional context

No response

Rocss commented 5 months ago

The TypeError is thrown from node_modules/@storybook/addon-a11y/dist/preview.js: Screenshot 2024-04-16 at 12 18 14

Something fishy with this dynamic import.

noahwaldner commented 5 months ago

We also started noticing this Issue in the past few days.

We're on Version 8.0.8