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
While creating the repro, I noticed I was on an older, not supported svelte version. I was using svelte@3.29.7, however svelte svelte@^3.32.0 is required via peer dependencies. Upgrading svelte resolved the issue.
If you want to investigate that further, here is the repro: https://github.com/fischor/issue-22-storybookjs-addon-svelte-csf There are 3 commit that use different versions of svelte. The issue happens only in the second commit (svelte version too old).
Describe the bug
I have Svelte components written in TypeScript, so I have to use svelte-preprocess. My storybook config looks like this:
Steps to reproduce the behavior
With that config run storybook.
Expected behavior
Successful build.
Screenshots and/or logs
Environment
Additional context
The error is referring to these lines
addon-svelte-csf/src/components/Story.svelte
Lines 22 to 24 in 1c88870
The text was updated successfully, but these errors were encountered: