Storybook doesn't work in monorepo - vue 3 vite 3 #477
Replies: 3 comments 9 replies
-
The problem is with pnp not vite3 or mono repo. Try the same using npm or yarn v1 and it will work fine. If you want a quickly but wrong fix, download all those dependencies as dev dependencies of your own project. |
Beta Was this translation helpful? Give feedback.
-
@IanVS
|
Beta Was this translation helpful? Give feedback.
-
I've tried about every permutation of
It seems most attemps end with storybookjs/storybook#12995 (comment). Even if it's from a fresh start no migration, I'd love to get this up and running |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I am trying to setup storybook in my vue 3 vite 3 package inside of a monorepo.
The steps I followed:
Navigate to
monorepo\packages\vue3project
and follow the following commands:I get the following error when I try to open locally started storybook from
http://localhost:6006/
I then crosschecked the nodemodules and it does not contain a
@storybook/preview-web
.That's my main.cjs
Beta Was this translation helpful? Give feedback.
All reactions