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]: Build fails on Vercel after update to v7 (React + Vite) #22656

Open
IgnacioNMiranda opened this issue May 21, 2023 · 0 comments
Open

[Bug]: Build fails on Vercel after update to v7 (React + Vite) #22656

IgnacioNMiranda opened this issue May 21, 2023 · 0 comments

Comments

@IgnacioNMiranda
Copy link

Describe the bug

Continuing this discussion #22409
After upgrading from Storybook v6 to v7 the build fails in Vercel with the following error:

image

As mentioned in the attached issue, I've already tried with v7.0.12, v7.1.0-alpha.12, and also with the latest alpha v7.1.0-alphat.20

To Reproduce

Try deploying a React+Vite Storybook project to Vercel.

System

Environment Info:

  System:
    OS: macOS 13.3.1
    CPU: (10) arm64 Apple M1 Pro
  Binaries:
    Node: 18.14.2 - ~/.nvm/versions/node/v18.14.2/bin/node
    npm: 9.5.0 - ~/.nvm/versions/node/v18.14.2/bin/npm
  Browsers:
    Firefox: 112.0.1
    Safari: 16.4
  npmPackages:
    @storybook/addon-essentials: 7.1.0-alpha.20 => 7.1.0-alpha.20 
    @storybook/addon-interactions: 7.1.0-alpha.20 => 7.1.0-alpha.20 
    @storybook/addon-links: 7.1.0-alpha.20 => 7.1.0-alpha.20 
    @storybook/addon-styling: 1.0.8 => 1.0.8 
    @storybook/blocks: 7.1.0-alpha.20 => 7.1.0-alpha.20 
    @storybook/react: 7.1.0-alpha.20 => 7.1.0-alpha.20 
    @storybook/react-vite: 7.1.0-alpha.20 => 7.1.0-alpha.20 
    @storybook/testing-library: 0.1.0 => 0.1.0

Additional context

The repo when I'm trying this is public so you can see the setup in this Github repo for more detailed insight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant