Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: upgrading to 7.0.7 breaks app start/compile #22288

Closed
JeffreyStevens opened this issue Apr 27, 2023 · 4 comments · Fixed by #22261
Closed

[Bug]: upgrading to 7.0.7 breaks app start/compile #22288

JeffreyStevens opened this issue Apr 27, 2023 · 4 comments · Fixed by #22261

Comments

@JeffreyStevens
Copy link

JeffreyStevens commented Apr 27, 2023

Describe the bug

Running the npx storybook@latest upgrade upgraded to 7.0.7 but @storybook/addon-actions causes the following error (reverting just @storybook/addon-actions to 7.0.6 fixes the issue) when attempting to start/compile my app:

sb-addon

To Reproduce

No response

System

m087610:sts-react (develop) ✔ npx storybook@latest info

Environment Info:

  System:
    OS: macOS 13.3.1
    CPU: (8) arm64 Apple M1 Pro
  Binaries:
    Node: 20.0.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.6.4 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 112.0.5615.137
    Edge: 112.0.1722.58
    Safari: 16.4
  npmPackages:
    @storybook/addon-a11y: ^7.0.7 => 7.0.7 
    @storybook/addon-actions: 7.0.6 => 7.0.6 
    @storybook/addon-console: ^1.2.3 => 1.2.3 
    @storybook/addon-docs: ^7.0.7 => 7.0.7 
    @storybook/addon-essentials: ^7.0.7 => 7.0.7 
    @storybook/addon-interactions: ^7.0.7 => 7.0.7 
    @storybook/addon-links: ^7.0.7 => 7.0.7 
    @storybook/addon-mdx-gfm: ^7.0.7 => 7.0.7 
    @storybook/addon-viewport: ^7.0.7 => 7.0.7 
    @storybook/addons: ^7.0.7 => 7.0.7 
    @storybook/jest: ^0.1.0 => 0.1.0 
    @storybook/preset-create-react-app: ^7.0.7 => 7.0.7 
    @storybook/react: ^7.0.7 => 7.0.7 
    @storybook/react-webpack5: ^7.0.7 => 7.0.7 
    @storybook/test-runner: ^0.10.0 => 0.10.0 
    @storybook/testing-library: 0.1.0 => 0.1.0 
    @storybook/theming: ^7.0.7 => 7.0.7 
    @storybook/types: ^7.0.7 => 7.0.7

Additional context

No response

@JeffreyStevens JeffreyStevens changed the title [Bug]: upgrading to 7.0.7 breaks app compile [Bug]: upgrading to 7.0.7 breaks app start/compile Apr 27, 2023
@shilman
Copy link
Member

shilman commented Apr 27, 2023

@JeffreyStevens Do you a have a reproduction repo you can share? If not, can you create one? Go to https://storybook.new or see repro docs.

@ndelangen it looks like it's very likely due to this PR #22175. Can you please take a look?

@shilman
Copy link
Member

shilman commented Apr 27, 2023

@ndelangen Nevermind, I see you're already working on a fix over at #22261

@shilman
Copy link
Member

shilman commented May 2, 2023

¡Ay Caramba!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.1.0-alpha.12 containing PR #22261 that references this issue. Upgrade today to the @future NPM tag to try it out!

npx sb@next upgrade --tag future

@shilman
Copy link
Member

shilman commented May 3, 2023

Boo-yah!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.8 containing PR #22261 that references this issue. Upgrade today to the @latest NPM tag to try it out!

npx sb@latest upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
2 participants