Skip to content
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

Storybook Build Fails #18

Open
nobleach opened this issue Apr 18, 2022 · 1 comment
Open

Storybook Build Fails #18

nobleach opened this issue Apr 18, 2022 · 1 comment

Comments

@nobleach
Copy link

I don't know if you've noticed but pulling this repo as is, and after installing all dependencies, npm run build fails with:

> build-storybook -o dist/storybook

info @storybook/react v6.4.22
info
info => Cleaning outputDir: /Users/jimwharton/work/cl-vite/dist/storybook
info => Loading presets
ERR! TypeError: (intermediate value) is not iterable
ERR!     at Object.viteFinal (/Users/jimwharton/work/cl-vite/.storybook/main.js:1:1)
ERR!     at /Users/jimwharton/work/cl-vite/node_modules/@storybook/core-common/dist/cjs/presets.js:279:28
ERR!  TypeError: (intermediate value) is not iterable
ERR!     at Object.viteFinal (/Users/jimwharton/work/cl-vite/.storybook/main.js:1:1)
ERR!     at /Users/jimwharton/work/cl-vite/node_modules/@storybook/core-common/dist/cjs/presets.js:279:28

I realize there have been some updates to some packages, so maybe there are version inconsistencies. Most notably, storybook-builder-vite has changed names. I'll work to upgrade these and if this works, I'll submit a PR back to you.

But otherwise, have you noticed this?

@lmachens
Copy link
Owner

lmachens commented May 1, 2022

Hi, a pull request would be highly welcome :).
I didn't notice it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants