You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After following the migration docs from v4 to v5, the following error prevents Storybook from rendering:
Uncaught TypeError: Cannot read property 'length' of undefined
at serializeStyles (vendors~main.204f682345711db63402.bundle.js:1571)
at css (vendors~main.204f682345711db63402.bundle.js:1338)
at Module.keyframes (vendors~main.204f682345711db63402.bundle.js:1199)
at Object.../../node_modules/@storybook/theming/dist/animation.js (vendors~main.204f682345711db63402.bundle.js:24234)
at __webpack_require__ (runtime~main.7b4918090cfe19b7778a.bundle.js:79)
at Object.../../node_modules/@storybook/theming/dist/create.js (vendors~main.204f682345711db63402.bundle.js:24392)
at __webpack_require__ (runtime~main.7b4918090cfe19b7778a.bundle.js:79)
at Object.../../node_modules/@storybook/theming/dist/index.js (vendors~main.204f682345711db63402.bundle.js:24673)
at __webpack_require__ (runtime~main.7b4918090cfe19b7778a.bundle.js:79)
at Object.../../node_modules/@storybook/addon-knobs/dist/components/Panel.js (vendors~main.204f682345711db63402.bundle.js:3502)
After seeing this same error on the docz repo, I suspect it's due to conflicting versions of emotion that storybook and docz are using, both of which are in separate packages but are hoisted into a shared set of dependencies via yarn workspaces.
Unfortunately this is a private codebase so i'm unable to provide a link to our setup. I can share these details:
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Describe the bug
After following the migration docs from v4 to v5, the following error prevents Storybook from rendering:
After seeing this same error on the
docz
repo, I suspect it's due to conflicting versions ofemotion
that storybook and docz are using, both of which are in separate packages but are hoisted into a shared set of dependencies via yarn workspaces.Unfortunately this is a private codebase so i'm unable to provide a link to our setup. I can share these details:
System:
addon-a11y
,addon-knobs
,addon-links
,addon-notes
,react
The text was updated successfully, but these errors were encountered: