Skip to content

[Bug]: missing props in controls tab when using pnpm #29340

Open
@MarcusKuehn

Description

@MarcusKuehn

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

  1. create nextJs project
  2. install mui
  3. install storybook
  4. follow setup guide for mui -> https://storybook.js.org/recipes/@mui/material
  5. create story for mui component
  6. enable autodocs
  7. start storybook
  8. -> mui component story does not show mui component propertys

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions