Replies: 3 comments 1 reply
-
@eldevyas I'm also having the same issue, did you find any fix? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Update: I was able to resolve it by deleting |
Beta Was this translation helpful? Give feedback.
1 reply
-
The problem is that storybook detects you're on Yarn PNP by simply searching for any .pnp.cjs file in your file tree |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When attempting to use Storybook 8 with PNPM in my Next.js project, I encounter errors indicating that various Storybook dependencies cannot be resolved. This issue persists despite multiple troubleshooting attempts, including clearing caches, reinstalling dependencies, and trying different versions of Storybook and PNPM.
Environment:
Node: v20.15.0
PNPM: 8.15.6
NPM: 10.7.0
Next.js: v14.2.4
OS: MacOS 13.2.1
Dev Dependencies related to Storybook in package.json:
Expected Behavior:
The Storybook should start without errors.
Actual Behavior:
I receive the following errors when trying to run Storybook:
Attempts to Fix:
I suspect the issue may be related to Storybook, but I'm not sure how to proceed further. Any guidance on resolving this would be greatly appreciated.
Additional information
Additional Context:
I have tried several approaches to resolve this issue, including:
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions