fix(storybook-addon): Issue 993 proxy errors#994
fix(storybook-addon): Issue 993 proxy errors#994akornmeier wants to merge 15 commits intonuxt-modules:mainfrom
Conversation
👷 Deploy request for nuxt-storybook pending review.Visit the deploys page to approve it
|
|
Thanks, there is a lot of things going on in this PR. Could you please split it in more manageable parts (i.e. the nuxt-ui-pro migration can be split of, same for the revamp of the playground). |
I was just doing that exact thing. I'll revert the wholesale change to I noticed an issue or two mentioning updating some of the examples, maybe that is a better place to add something like I did for playground (and in a different PR). I had to change the nuxt-ui-pro dep due to the changes in playground, so I can back that out too. I will push an update soon. |
|
Thanks! It's good to have those changes as well (in particular the nuxt-ui upgrade), just transfer them to a new PR please. |
The revert commit 4494e7e accidentally removed the addon-docs configuration, causing autodocs pages to fail with 'Couldn't find story matching' error. - Add @storybook/addon-docs to addons array in .storybook/main.ts - Add @storybook/addon-docs as devDependency
|
@tobiasdiez / @chakAs3 - I have split the original PR into 3 more focused issue/PRs. I feel confident the memory leak and dependency version issues have been resolved. Here are the related PRs that should complete the Storybook 10.x + Nuxt 4.x upgrade. |
Checking in on these updates. I'd love to get the Nuxt + Storybook plugin aligned with the current versions of both tools. Is there anything you need me to do with these 3 PRs to merge them and cut the new v10 release? |
I will do final review and test before merging them then i ll cut 10v release |
|
Hi @chakAs3 / @akornmeier is there any additional assistance required for the v10 release i can support with? |
|
@akornmeier @rpauls-scayle it is crashing when i run pnpm dev. i could not test using the main playground |
|
Can verify, running pnpm dev
> nuxt-storybook@ dev /Users/robert.pauls/Development/github/nuxt-storybook
> pnpm run --filter=./playground/** dev
packages/storybook-addon | WARN Unsupported engine: wanted: {"node":">=20.19.0"} (current: {"node":"v20.18.1","pnpm":"10.28.2"})
> nuxt-storybook-playground@ dev /Users/robert.pauls/Development/github/nuxt-storybook/playground
> nuxt dev
│ 12:02:47 PM
● Nuxt 4.2.2 (with Nitro 2.12.9, Vite 7.3.0 and Vue 3.5.26)
12:02:47 PM
➜ Local: http://localhost:3000/
➜ Network: use --host to expose
verbose 🔌 Storybook Module Setup nuxt:storybook 12:02:48 PM
➜ DevTools: press Shift + Option + D in the browser (v3.1.1) 12:02:48 PM
verbose Starting Storybook nuxt:storybook 12:02:48 PM
ERROR Storybook failed to load the following preset: /Users/robert.pauls/Development/github/nuxt-storybook/playground/.storybook/main.ts. nuxt:storybook:build 12:02:49 PM
Please check whether your setup is correct, the Storybook dependencies (and their peer dependencies) are installed correctly and there are no package version clashes.
If you believe this is a bug, please open an issue on Github.
SB_CORE-SERVER_0002 (CriticalPresetLoadError): Storybook failed to load the following preset: @chromatic-com/storybook.
Please check whether your setup is correct, the Storybook dependencies (and their peer dependencies) are installed correctly and there are no package version clashes.
If you believe this is a bug, please open an issue on Github.
SB_CORE-SERVER_0002 (CriticalPresetLoadError): Storybook failed to load the following preset: /Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/@chromatic-com+storybook@4.1.3_storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3_8e49d3d361dbdebbf9df777e9c3afdb5/node_modules/@chromatic-com/storybook/dist/preset.js.
Please check whether your setup is correct, the Storybook dependencies (and their peer dependencies) are installed correctly and there are no package version clashes.
If you believe this is a bug, please open an issue on Github.
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/core-server/index.js from /Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/@chromatic-com+storybook@4.1.3_storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3_8e49d3d361dbdebbf9df777e9c3afdb5/node_modules/@chromatic-com/storybook/dist/preset.js not supported.
Instead change the require of index.js in /Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/@chromatic-com+storybook@4.1.3_storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3_8e49d3d361dbdebbf9df777e9c3afdb5/node_modules/@chromatic-com/storybook/dist/preset.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/@chromatic-com+storybook@4.1.3_storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3_8e49d3d361dbdebbf9df777e9c3afdb5/node_modules/@chromatic-com/storybook/dist/preset.js:7:18)
More info:
at loadPreset (file:///Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10101:13)
at async Promise.all (index 0)
at async loadPresets (file:///Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10110:73)
at async loadPreset (file:///Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10083:12)
at async Promise.all (index 1)
at async loadPresets (file:///Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10110:73)
at async loadPreset (file:///Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10084:12)
at async Promise.all (index 1)
at async loadPresets (file:///Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10110:73)
at async getPresets (file:///Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10141:23)
More info:
at loadPreset (file:///Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10101:13)
at async Promise.all (index 1)
at async loadPresets (file:///Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10110:73)
at async loadPreset (file:///Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10084:12)
at async Promise.all (index 1)
at async loadPresets (file:///Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10110:73)
at async getPresets (file:///Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10141:23)
at async buildDevStandalone (file:///Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/core-server/index.js:7163:17)
at async withTelemetry (file:///Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-2372JZ52.js:209:12)
at async setupStorybook (/Users/robert.pauls/Development/github/nuxt-storybook/packages/nuxt-module/src/storybook.ts:79:18)
More info:
at loadPreset (/Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10101:13)
at async Promise.all (index 1)
at async loadPresets (/Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10110:73)
at async getPresets (/Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10141:23)
at async buildDevStandalone (/Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/core-server/index.js:7163:17)
at async withTelemetry (/Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/_node-chunks/chunk-2372JZ52.js:209:12)
at async setupStorybook (/Users/robert.pauls/Development/github/nuxt-storybook/packages/nuxt-module/src/storybook.ts:79:18)
WARN nuxt:storybook:build 12:02:49 PM
Broken build, fix the error above.
You may need to refresh the browser.
✔ Vite client built in 572ms 12:02:49 PM
│ 12:02:49 PM
▲ Failed to load preset:
│ {"name":"/Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/@chromatic-com+storybook@4.1.3_storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3_8e49d3d361dbdebbf9df777e9c3afdb5/node_modules/@chromatic-com/storybook/dist/preset.js"}
│ on level 2
│ 12:02:49 PM
■ Error [ERR_REQUIRE_ESM]: require() of ES Module
│ /Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.7.4_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/storybook/dist/core-server/index.js
│ from
│ /Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/@chromatic-com+storybook@4.1.3_storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3_8e49d3d361dbdebbf9df777e9c3afdb5/node_modules/@chromatic-com/storybook/dist/preset.js
│ not supported.
│ Instead change the require of index.js in
│ /Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/@chromatic-com+storybook@4.1.3_storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3_8e49d3d361dbdebbf9df777e9c3afdb5/node_modules/@chromatic-com/storybook/dist/preset.js
│ to a dynamic import() which is available in all CommonJS modules.
│ at Object.<anonymous>
│ (/Users/robert.pauls/Development/github/nuxt-storybook/node_modules/.pnpm/@chromatic-com+storybook@4.1.3_storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3_8e49d3d361dbdebbf9df777e9c3afdb5/node_modules/@chromatic-com/storybook/dist/preset.js:7:18)
✔ Vite server built in 57ms @akornmeier is one of your other split out PR a prerequisite for this PR? 🤔 |
|
Yeah, it was all working as a single PR. I can take a look today and see which part it is missing for this main path.
…On Jan 28, 2026 at 6:07 AM -0500, "Robert K. Pauls @ SCAYLE" ***@***.***>, wrote:
rpauls-scayle left a comment (nuxt-modules/storybook#994)
Can verify, running pnpm dev from this branch, results in Storybook crashing during startup of the dev server, same running pnpm example:showcase:dev:
pnpm dev
> nuxt-storybook@ dev /Users/robert.pauls/Development/github/nuxt-storybook
> pnpm run --filter=./playground/** dev
packages/storybook-addon | WARN Unsupported engine: wanted: {"node":">=20.19.0"} (current: {"node":"v20.18.1","pnpm":"10.28.2"})
> nuxt-storybook-playground@ dev /Users/robert.pauls/Development/github/nuxt-storybook/playground
> nuxt dev
│ 12:02:47 PM
● Nuxt 4.2.2 (with Nitro 2.12.9, Vite 7.3.0 and Vue 3.5.26)
12:02:47 PM
➜ Local: http://localhost:3000/
➜ Network: use --host to expose
verbose 🔌 Storybook Module Setup nuxt:storybook 12:02:48 PM
➜ DevTools: press Shift + Option + D in the browser (v3.1.1) 12:02:48 PM
verbose Starting Storybook nuxt:storybook 12:02:48 PM
ERROR Storybook failed to load the following preset: /Users/robert.pauls/Development/github/nuxt-storybook/playground/.storybook/main.ts. nuxt:storybook:build 12:02:49 PM
Please check whether your setup is correct, the Storybook dependencies (and their peer dependencies) are installed correctly and there are no package version clashes.
If you believe this is a bug, please open an issue on Github.
SB_CORE-SERVER_0002 (CriticalPresetLoadError): Storybook failed to load the following preset: @chromatic-com/storybook.
Please check whether your setup is correct, the Storybook dependencies (and their peer dependencies) are installed correctly and there are no package version clashes.
If you believe this is a bug, please open an issue on Github.
SB_CORE-SERVER_0002 (CriticalPresetLoadError): Storybook failed to load the following preset: ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/storybook/dist/preset.js.
Please check whether your setup is correct, the Storybook dependencies (and their peer dependencies) are installed correctly and there are no package version clashes.
If you believe this is a bug, please open an issue on Github.
Error [ERR_REQUIRE_ESM]: require() of ES Module ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/core-server/index.js from ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/storybook/dist/preset.js not supported.
Instead change the require of index.js in ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/storybook/dist/preset.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/storybook/dist/preset.js:7:18)
More info:
at loadPreset ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10101:13)
at async Promise.all (index 0)
at async loadPresets ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10110:73)
at async loadPreset ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10083:12)
at async Promise.all (index 1)
at async loadPresets ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10110:73)
at async loadPreset ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10084:12)
at async Promise.all (index 1)
at async loadPresets ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10110:73)
at async getPresets ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10141:23)
More info:
at loadPreset ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10101:13)
at async Promise.all (index 1)
at async loadPresets ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10110:73)
at async loadPreset ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10084:12)
at async Promise.all (index 1)
at async loadPresets ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10110:73)
at async getPresets ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10141:23)
at async buildDevStandalone ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/core-server/index.js:7163:17)
at async withTelemetry ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-2372JZ52.js:209:12)
at async setupStorybook (/Users/robert.pauls/Development/github/nuxt-storybook/packages/nuxt-module/src/storybook.ts:79:18)
More info:
at loadPreset ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10101:13)
at async Promise.all (index 1)
at async loadPresets ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10110:73)
at async getPresets ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-Q4DOC7HF.js:10141:23)
at async buildDevStandalone ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/core-server/index.js:7163:17)
at async withTelemetry ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/_node-chunks/chunk-2372JZ52.js:209:12)
at async setupStorybook (/Users/robert.pauls/Development/github/nuxt-storybook/packages/nuxt-module/src/storybook.ts:79:18)
WARN nuxt:storybook:build 12:02:49 PM
Broken build, fix the error above.
You may need to refresh the browser.
✔ Vite client built in 572ms 12:02:49 PM
│ 12:02:49 PM
▲ Failed to load preset:
│ ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/storybook/dist/preset.js"}
│ on level 2
│ 12:02:49 PM
■ Error [ERR_REQUIRE_ESM]: require() of ES Module
│ ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/node_modules/storybook/dist/core-server/index.js
│ from
│ ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/storybook/dist/preset.js
│ not supported.
│ Instead change the require of index.js in
│ ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/storybook/dist/preset.js
│ to a dynamic import() which is available in all CommonJS modules.
│ at Object.<anonymous>
│ ***@***.******@***.******@***.******@***.******@***.******@***.******@***.***/storybook/dist/preset.js:7:18)
✔ Vite server built in 57ms
@akornmeier is one of your other split out PR a prerequisite for this PR? 🤔
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
|
@chakAs3 / @akornmeier I had another quick look today: Looks like the startup issues with So we might want to consider updating the minimum Node version to at least
In regard to running This appears to be expected, as we do not have a default |
|
Hello, Thanks for the support ! I would like to know if I can use a nightly build of some sort to test the fix for the proxy errors, or do I need to use the commit as a npm dep?, I have a fresh project with updated version and I can't make storybook work, since my project is at an early stage I don't mind testing if it helps me start building my stories |
|
Is anyone working on a fix for resolving the startup issues in this PR? Seems to have stalled. |
|
@akornmeier any chance to get it fixed ? |
| import { $fetch } from 'ofetch' | ||
| import { createHead as createClientHead } from '@unhead/vue/client' | ||
| // The headSymbol is just the string "usehead" used for Vue's provide/inject | ||
| const headSymbol = 'usehead' |
There was a problem hiding this comment.
Unhead exports headSymbol, it's probably better to use the exported var in case unhead changes to an actual Symbol() in the future
There was a problem hiding this comment.
But i'm not sure how this relates to the proxy issues
## Summary - `pnpm run dev` 実行時に `/_nuxt/@vite/client` などが 500 を返し、SPA がブートストラップできない事象の暫定対応 - `nuxt.config.ts` の `modules` 配列から `@nuxtjs/storybook` を一旦外す ## 背景・原因 `@nuxtjs/storybook@9.0.1` の peer dependency は `storybook ~9.0.5` だが、本プロジェクトは `storybook@10.3.5` を使用しているため、Storybook 10 の API 変更に追従できず、モジュールが登録した `/_nuxt/*` Vite proxy が機能しない(接続先が listen しない → ECONNREFUSED)。 upstream で修正 PR ([nuxt-modules/storybook#994](nuxt-modules/storybook#994)) がレビュー中のため、それがマージ・リリースされるまでの暫定回避。 ## 影響 - ❌ `pnpm dev` 起動時に Storybook も同時起動する機能 → 動かなくなる(もともと壊れていた) - ✅ Storybook 単独起動 (`pnpm storybook`) → 引き続き利用可能 - ✅ CI の `pnpm run build-storybook` → スタンドアロンで動くため影響なし - ✅ デプロイされる Storybook サイト → 影響なし ## 恒久対応 追跡 issue: #590 ## Test plan - [x] `pnpm run dev` で SPA が起動し、`/auth/login` `/auth/user-register` が表示される - [x] `pnpm run lint` 通過 - [ ] `pnpm storybook` が単独起動できることを確認 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary of Changes
Fix: Storybook Proxy Configuration
Dependency Fixes
These changes prevent the errors that created the memory-leak in the module that crashed-out the proxy server.