You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am upgrading my Storybook project from v7 to v8 using npx storybook@latest upgrade. I am using Next.js 15, React 19, and Tailwind v3. The project is a Yarn PnP monorepo. Here is the error I'm getting:
Loading PostCSS "tailwindcss" plugin failed: postcss-loader tried to access tailwindcss, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
Required package: tailwindcss
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
I am upgrading my Storybook project from v7 to v8 using
npx storybook@latest upgrade
. I am using Next.js 15, React 19, and Tailwind v3. The project is a Yarn PnP monorepo. Here is the error I'm getting:Additional information
Relevant packages versions :
My main.ts file:
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions