Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Storybook broken on Nuxt 3 w/ vite #24746

Closed
bmulholland opened this issue Nov 7, 2023 · 1 comment
Closed

[Bug]: Storybook broken on Nuxt 3 w/ vite #24746

bmulholland opened this issue Nov 7, 2023 · 1 comment

Comments

@bmulholland
Copy link

bmulholland commented Nov 7, 2023

Describe the bug

On Nuxt 3 (for me, any version of Nuxt 3 and Storybook), the stories all crash with obscure errors. Root cause looks like the code is getting double-compiled by Vite. Daniel has dug in and diagnosed the issue to code in this repo. Full description linked here:

nuxt-modules/storybook#428 (comment)

To Reproduce

Use Nuxt 3 (any version with yarn, perhaps only <3.7 on other package managers? Hard to tell).

Here's one repro (open the Test component -- needs to be something rendered by Nuxt):
https://stackblitz.com/edit/nuxt-starter-qm9s4q?file=components%2FTest.vue,stories%2FTest.stories.ts

@bmulholland bmulholland changed the title [Bug]: Storybook broken on Nuxt 3 [Bug]: Storybook broken on Nuxt 3 w/ vite Nov 7, 2023
@vanessayuenn
Copy link
Contributor

Looks like this has been resolved already? In any case, I am closing this in favour of keeping the discussion in one place. Please let me know if I am mistaken, though.

@vanessayuenn vanessayuenn closed this as not planned Won't fix, can't repro, duplicate, stale Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants