-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: I'll guide you through troubleshooting the issue with installing Storybook. #28234
Comments
@byunghyun what package manager/version are you using? does it work in node 20? do you have a reproduction repo you can share? |
I'm using npm. node version 21 |
Since this is a company project, I can't share the entire code. The error mentions something related to yarn pnp. I installed it with npx, but it shows an error related to yarn pnp. |
Just in case, I've also tried installing it with yarn, deleted all node_modules, and removed the package-lock file. I've tried all possible methods. Could it be related to Husky? If you request specific parts of the configuration files, I can send just those parts. Since this is a company project, I can't share the entire code. { |
I just tried installing it on Windows OS instead of macOS, and it worked without any issues. Could it be related to the operating system? |
@byunghyun is it possible that there is a |
I have a very similar issue, though I am on windows. Storybook crashes on install into a clean vite react project with the following error: I tried a few different ways of installing, and it seems to be yarn-related. When I created a new vite react project with npm, then used npm to install storybook as well, the install finally worked. All separate projects I tested with were in the same containing folder, and no higher folders had a yarn.lock file. |
Thank you, I solved the problem. |
Describe the bug
I'll guide you through troubleshooting the issue with installing Storybook.
I'm sorry to hear that Storybook isn't installing or working properly even after running npx storybook@latest init. Let's troubleshoot this step by step.
node version: v21.7.1
nextjs version: v14.1.4
Reproduction link
my localhost
Reproduction steps
No response
System
Additional context
No response
The text was updated successfully, but these errors were encountered: