[Bug]: Storybook doesn't work with Yarn 4 (nodeLinker: pnpm)
, Vue 3
, Vite 5
, Storybook 8
#28620
Labels
Yarn 4 (nodeLinker: pnpm)
, Vue 3
, Vite 5
, Storybook 8
#28620
Describe the bug
I'm setting up a new front-end repo with
Yarn 4 (nodeLinker: pnpm)
,Vue 3
,Vite 5
,Storybook 8
.And I encounter the following error type when starting Storybook or build Storybook.
yarn storybook dev -p 6006
yarn storybook dev -p 6006
(full log)yarn storybook build
yarn storybook build
(full log)For some reason (optimization and monorepo) I need to use
nodeLinker: pnpm
.I also tried
nodeLinker: node_modules
. But it leads to another error, check my comment: #28567 (comment)Reproduction link
https://github.com/issue-reproduction/vue-vite-storybook-issue
Reproduction steps
master
).yarn 4.3.1
&node 20.15.1
manually.yarn
.yarn storybook
oryarn build-storybook
.System
Additional context
No response
The text was updated successfully, but these errors were encountered: