Repository navigation
Replies: 2 comments 6 replies
|
the ERESOLVE output you pasted from the reinstall attempt is actually the root cause of the original
what almost certainly happened on your very first install: npm hit this same conflict, but instead of failing loudly like it did on the clean reinstall, it likely resolved things partially/inconsistently because of whatever was already in your lockfile from before adding storybook. some addon packages (like two ways to actually fix it rather than route around it:
i'd avoid reaching for |
|
I checked the two install failures separately in a Linux Codespace with Node 22.22.3:
A combination I verified end to end was npm 11.19.0 with Storybook 10.6.0 and exact matching If you still hit the crash, could you share |
Uh oh!
There was an error while loading. Please reload this page.
Summary
After installation of storybook into a react-vite application, none of the packages can be found.
Additional information
This is my first time using Storybook, so a little confused on what info is usable. The existing project I installed it on is a react-vite project. I created a tsconfig.json file in .storybook as recommended in the FAQ
my root tsconfig.json is as follows:
my package.json file:
my vite.config.ts file:
I attempted to reinstall by deleting the node_modules library and deleting the package-lock file. It got worst from this state as there is a dependency conflict that shows up.
Create a reproduction
No response
All reactions