We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Getting errors like these in a monorepo:
The @storybook/addon-links is not installed in pats/. Did you forget to install it or is your package.json in a different location?
the pats is the root of the monorepo. Each package has storybook and addons installed.
pats
Expected behavior no error
Additional context I'm not sure if storybook should be hoisted or install only at the top level of monorepo.
Right now, I have each package self-contained and each has their own copy of storybook.
I'm using pnpm.
pnpm
The text was updated successfully, but these errors were encountered:
Hey @unional thanks for opening this issue. Would you be able to either provide a minimal reproduction repo or a PR to fix this issue? This is the rule code: https://github.com/storybookjs/eslint-plugin-storybook/blob/main/lib/rules/no-uninstalled-addons.ts
You could for now disable that rule to unblock you.
Sorry, something went wrong.
@yannbf this isn't exactly a fix but it looks like a work around has been implemented here that is better than just blanket ignoring the rule:
#129
We have the same issue here - also using pnpm with a monorepo.
No branches or pull requests
Describe the bug
Getting errors like these in a monorepo:
the
pats
is the root of the monorepo.Each package has storybook and addons installed.
Expected behavior
no error
Additional context
I'm not sure if storybook should be hoisted or install only at the top level of monorepo.
Right now, I have each package self-contained and each has their own copy of storybook.
I'm using
pnpm
.The text was updated successfully, but these errors were encountered: