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

Storybook starts with error "Converting circular structure to JSON" #817

Open
prof-schnitzel opened this issue Dec 2, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@prof-schnitzel
Copy link

Environment

  • Operating System: Windows_NT
  • Node Version: v20.10.0
  • Nuxt Version: 3.14.1592
  • CLI Version: 3.16.0
  • Nitro Version: 2.10.4
  • Package Manager: [email protected]
  • Builder: -
  • User Config: -
  • Runtime Modules: NuxtUI
  • Build Modules: -

Reproduction

https://github.com/prof-schnitzel/nuxt-storybook-bug

Describe the bug

When using this module together with NuxtUI I get the error "Converting circular structure to JSON" during startup in dev mode. I debugged a bit and I found out that this is due to the plugin vite:vue which has a devServer configuration that is also using the plugin vite:vue that again has the devServer configuration and so on which causes this circular reference. You can reproduce this issue by simply running the command npm run dev in the provided reproduction repository.

Additional context

No response

@prof-schnitzel prof-schnitzel added the type: bug Something isn't working label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant