Open webketje opened 2 years ago
Manually upgraded to 6.3.13 and everything worked out-of-the-box. So this is very probably an issue with 6.4.x
Encountering this on 6.5.9 for Ember, on a fresh install.
For anyone else who might encounter this - you can get TypeError: render is undefined
when exporting inside your stories.
A simple typo that took way too long to fix.
on 6.5.14
// component.stories.ts
export const EXAMPLE_IMAGES = [
^
this will cause "render is undefined"
...
];
export default {
title: ...,
argTypes: {
images: {
...
options: EXAMPLE_IMAGES,
Describe the bug After following the guide at https://storybook.js.org/docs/vue/configure/upgrading and manually upgrading some other dependencies, a runtime error occurs when the webview is loaded. Impact: the SB frame and widgets are there, but no story can be loaded. The error occurs both on production & dev builds. I tried tracking the error in the source code, but it is too cryptic without knowing most or all of it.
To Reproduce Due to the repo being private & the cause of the issue unknown, the only thing I could say to reproduce it is to upgrade a Storybook from 6.0 to 6.4.19. I've followed all the directions at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md, tweaked various params but to no avail. The error persists.
System
Note: only addon-essentials & addon-a11y are used in the actual SB build Additional context