Could not resolve "./button.css" from "../../packages/ui/node_modules/@storybook/react/template/cli/ts-3-8/Button.tsx" #27055
Unanswered
jdiponziano
asked this question in
Help
Replies: 1 comment 1 reply
-
I encountered the same problem with my pnpm monorepo. What worked for me was to to exclude the node_modules directory inside of my StorybookConfig in the const config: StorybookConfig = {
// ...
stories: ["../../packages/ui/**!(node_modules)/*.stories.@(ts|tsx)"]
// ...
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I upgraded from storybook 7 to storybook 8. I have a Monorepo setup with Turborepo. Storybook is one of the apps in the turborepo app folder. After the upgrade I get this error.
Additional information
storybook version 8.0.10
main.ts
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions