-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
What does the warning WARN unable to find package.json for rollup means? #14000
Comments
^ Having the same error and would love some suggested solutions |
Do you have a repro repo you can share? |
I have the same issue! Please try: https://github.com/tihuan/components and run Thank you! |
same here 🙋🏻♂️ |
This warning is being printed here: https://github.com/storybookjs/storybook/blob/next/lib/core-server/src/manager/manager-config.ts#L37 Storybook is going through your project's dependencies and trying to read the |
Ahh perfect! Thanks so much, @shilman 🤩 Can confirm that the components work as intended in the storybook even with the warning 👍 Have a wonderful day! |
related #13099 |
the storybook warning "unable to find package.json for yargs-parser" can be ignored. (storybookjs/storybook#14000 (comment))
Problem still exists:
when I'm running build in my monorepo:
Repo is located here: https://github.com/wayofdev/next-starter-tpl Project structure:
|
@shilman, maybe related but I am getting
And I don't use vite. The only instance of @storybook/react-vite is in the root package.json |
Still having this issue in a monorepo setup. Can this issue be reopened? |
Describe the bug
I receive the warning in the console every time i start a storybook for a library I'm creating:
WARN unable to find package.json for rollup
My dependencies in package.json:
The text was updated successfully, but these errors were encountered: