- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 9.8k
Open
Description
Describe the bug
Encountered the following bug upgrading HeroUI from SB8 to SB9.
The following line:
Had to be modified to:
Because SB9 was picking up stories from node_modules. This is a common pattern and an unintentional breaking change in SB9.
Reproduction link
https://github.com/shilman/heroui/
Reproduction steps
First:
pnpm install
pnpm run sb
Then revert the change to main.ts and
pnpm run sb
System
Storybook Environment Info:
  System:
    OS: macOS 15.7.1
    CPU: (10) arm64 Apple M1 Pro
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.20.0 - /usr/local/bin/node
    npm: 10.9.3 - /usr/local/bin/npm
    pnpm: 10.6.2 - ~/Library/pnpm/.tools/pnpm/10.6.2/bin/pnpm <----- active
  Browsers:
    Chrome: 141.0.7390.123
    Safari: 26.0.1
  npmPackages:
    @storybook/addon-a11y: ^9.1.15 => 9.1.15 
    @storybook/addon-docs: ^9.1.15 => 9.1.15 
    @storybook/addon-links: ^9.1.15 => 9.1.15 
    @storybook/cli: ^9.1.15 => 9.1.15 
    @storybook/react-vite: ^9.1.15 => 9.1.15 
    storybook: ^9.1.15 => 9.1.15Additional context
No response
dosubot