Open jwynveen opened 2 months ago
Hi @jwynveen have you tried upgrading to 8.x? I doubt it will fix the problem, but you're more likely to get help on the latest version.
npx storybook@latest upgrade
Migration guide: https://storybook.js.org/docs/8.0/migration-guide
Describe the bug
Using the open-wc project template for a LitElement project that includes a Storybook setup (using
@storybook/web-components
), after adding configuration to generate autodocs from the custom-elements.json, the project is unable to runstorybook build
to generate a static version of the site. It fails with the following error:Reproduction link
https://github.com/jwynveen/open-wc-custom-elements-repro
Reproduction steps
npm install
)npm run storybook:build
)System
Additional context
This repo was generated from the open-wc template using the following process:
npm init @open-wc
.storybook/main.js
.storybook/preview.js
file with reference tocustom-elements.json