Code Monkey home page Code Monkey logo

Comments (10)

j3rem1e avatar j3rem1e commented on July 20, 2024

I'm not sure Storybook itself supports Svelte 5 🙂

from addon-svelte-csf.

bhvngt avatar bhvngt commented on July 20, 2024

Svelte 5 is backward compatible with svelte 4. So I was trying to upgrade svelte without trying out any of the new svelte 5 syntax.

from addon-svelte-csf.

JReinhold avatar JReinhold commented on July 20, 2024

Here's the upstream issue: storybookjs/storybook#24886

(might not be the same problem though)

from addon-svelte-csf.

JReinhold avatar JReinhold commented on July 20, 2024

We've added preliminary Svelte 5 support in the Storybook 8 alphas, you could try upgrading to those and see if that fixes the issue. If it does I think we can close it.

npx storybook@next upgrade --prerelease

Based on the errors you've reported it looks like a Storybook core issue and not related to this addon.

from addon-svelte-csf.

ryu-man avatar ryu-man commented on July 20, 2024

I got this error using storybook 8 with svelte 5 installed

Unable to index ./src/stories/Test.stories.svelte:
WARN   TypeError: Cannot read properties of undefined (reading 'instance')

from addon-svelte-csf.

eunukasiko avatar eunukasiko commented on July 20, 2024
- ./src/lib/components/button/Button.stories.svelte: Cannot read properties of undefined (reading 'instance')

from addon-svelte-csf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.