nuxt-modules / storybook

Storybook integration with Nuxt.
https://storybook.nuxtjs.org
378 stars 82 forks source link

ERROR: http proxy error #639

Closed seancrater closed 2 weeks ago

seancrater commented 2 weeks ago

Hey there, I'm not sure if this is an issue directly caused by the Nuxt Storybook module but it seems to only occur when using it. When I run Storybook either via storybook dev --port 6006 or visiting it on the localhost:6006 server that starts alongside Nuxt, I'm getting an http proxy error on initial page load. Then, if I hover over any of the stories in the navigation that have a slot or a component that uses the self closing syntax (e.g. <slot /> in the template, it'll throw another error.

I've tried commenting out all of my modules in our Nuxt config & rebuilding to rule out third party interference.

It seems something funky is going on with transpiling. I was wondering if this might be an issue anyone has encountered? Is there maybe some additional configuration I need to support self closing tags?

Versions: storybook@v8.1.6 nuxt@3.11.2 @nuxtjs/storybook@v8.1.1

First error from initial Storybook load: image

Second error from hovering over a slot/component tag containing component: image

seancrater commented 2 weeks ago

Ruled out this package as the cause, no clue what the actual root cause is but it's not this repo's problem 😄