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
When I try to create a simple story with Svelte 5 and Vite 5, I got following error:
Error while collecting story /path-to-project/Component.story.svelte:
TypeError: Class extends value undefined is not a constructor or null
at /path-to-project/node_modules/.pnpm/@histoire+plugin-svelte@0.17.17_histoire@0.17.17_svelte@5.0.0-next.1_vite@5.0.3/node_modules/@histoire/plugin-svelte/dist/collect/Story.svelte.js:87:17
at async ViteNodeRunner.runModule (file:///path-to-project/node_modules/.pnpm/vite-node@0.34.7/node_modules/vite-node/dist/client.mjs:342:5)
at async ViteNodeRunner.directRequest (file:///path-to-project/node_modules/.pnpm/vite-node@0.34.7/node_modules/vite-node/dist/client.mjs:326:5)
at async ViteNodeRunner.cachedRequest (file:///path-to-project/node_modules/.pnpm/vite-node@0.34.7/node_modules/vite-node/dist/client.mjs:189:14)
at async ViteNodeRunner.dependencyRequest (file:///path-to-project/node_modules/.pnpm/vite-node@0.34.7/node_modules/vite-node/dist/client.mjs:223:12)
at async /path-to-project/node_modules/.pnpm/@histoire+plugin-svelte@0.17.17_histoire@0.17.17_svelte@5.0.0-next.1_vite@5.0.3/node_modules/@histoire/plugin-svelte/dist/collect/index.js:4:31
at async ViteNodeRunner.runModule (file:///path-to-projectnode_modules/.pnpm/vite-node@0.34.7/node_modules/vite-node/dist/client.mjs:342:5)
at async ViteNodeRunner.directRequest (file:///path-to-project/node_modules/.pnpm/vite-node@0.34.7/node_modules/vite-node/dist/client.mjs:326:5)
at async ViteNodeRunner.cachedRequest (file:///path-to-projectnode_modules/.pnpm/vite-node@0.34.7/node_modules/vite-node/dist/client.mjs:189:14)
at async ViteNodeRunner.dependencyRequest (file:///path-to-project/node_modules/.pnpm/vite-node@0.34.7/node_modules/vite-node/dist/client.mjs:223:12)
Describe the bug
When I try to create a simple story with Svelte 5 and Vite 5, I got following error:
Reproduction
Reproduction in Stackblitz
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: