Open MarcusKuehn opened 2 weeks ago
We are trying to create a story for a custom themed mui Button but are unable to get any ButtonProps from mui in the Story.
https://codesandbox.io/p/devbox/syq2z7
Storybook Environment Info:
System: OS: macOS 15.0.1 CPU: (12) arm64 Apple M2 Pro Shell: 5.9 - /bin/zsh Binaries: Node: 20.15.0 - ~/Library/pnpm/node npm: 10.7.0 - ~/Library/pnpm/npm pnpm: 9.11.0 - ~/Library/pnpm/pnpm <----- active Browsers: Chrome: 129.0.6668.91 Edge: 129.0.2792.89 Safari: 18.0.1 npmPackages: @storybook/addon-essentials: ^8.3.5 => 8.3.5 @storybook/addon-interactions: ^8.3.5 => 8.3.5 @storybook/addon-links: ^8.3.5 => 8.3.5 @storybook/addon-onboarding: ^8.3.5 => 8.3.5 @storybook/addon-themes: ^8.3.5 => 8.3.5 @storybook/blocks: ^8.3.5 => 8.3.5 @storybook/nextjs: ^8.3.5 => 8.3.5 @storybook/react: ^8.3.5 => 8.3.5 @storybook/test: ^8.3.5 => 8.3.5 eslint-plugin-storybook: ^0.9.0 => 0.9.0 storybook: ^8.3.5 => 8.3.5
No response
Up
We could identify the Problem, it looks like pnpm is causing this issue npm and bun work fine. We did not test it with yarn or dino yet.
Describe the bug
We are trying to create a story for a custom themed mui Button but are unable to get any ButtonProps from mui in the Story.
Reproduction link
https://codesandbox.io/p/devbox/syq2z7
Reproduction steps
System
Storybook Environment Info:
System: OS: macOS 15.0.1 CPU: (12) arm64 Apple M2 Pro Shell: 5.9 - /bin/zsh Binaries: Node: 20.15.0 - ~/Library/pnpm/node npm: 10.7.0 - ~/Library/pnpm/npm pnpm: 9.11.0 - ~/Library/pnpm/pnpm <----- active Browsers: Chrome: 129.0.6668.91 Edge: 129.0.2792.89 Safari: 18.0.1 npmPackages: @storybook/addon-essentials: ^8.3.5 => 8.3.5 @storybook/addon-interactions: ^8.3.5 => 8.3.5 @storybook/addon-links: ^8.3.5 => 8.3.5 @storybook/addon-onboarding: ^8.3.5 => 8.3.5 @storybook/addon-themes: ^8.3.5 => 8.3.5 @storybook/blocks: ^8.3.5 => 8.3.5 @storybook/nextjs: ^8.3.5 => 8.3.5 @storybook/react: ^8.3.5 => 8.3.5 @storybook/test: ^8.3.5 => 8.3.5 eslint-plugin-storybook: ^0.9.0 => 0.9.0 storybook: ^8.3.5 => 8.3.5
Additional context
No response