-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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]: Storybook fails to build on Vercel after update to v7 (React+Vite) #22409
Comments
Same here (: my config is public if anyone wants to take a look IgnacioNMiranda/vite-component-library-template#61 |
Possibly related @ndelangen ? #22261 |
It also happened for me in GitHub action after updating the storybook version from 6 to 7 |
@abencun-symphony could you try storybook version v7.1.0-alpha.12, see if this still occurs then? |
Sorry for not updating the issue, it has been resolved in the meantime.
Could've been a Vercel-related issue or a caching issue since it just
started working without any intervention a couple of days after I've
reported on it.
…On Wed, May 17, 2023, 12:59 Norbert de Langen ***@***.***> wrote:
@abencun-symphony <https://github.com/abencun-symphony> could you try
storybook version v7.1.0-alpha.12
<https://github.com/storybookjs/storybook/releases/tag/v7.1.0-alpha.12>,
see if this still occurs then?
—
Reply to this email directly, view it on GitHub
<#22409 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2HOLXZUYAV4AUKLSMRXA2DXGSVPNANCNFSM6AAAAAAXW4IILA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I actually suspect the PR mentioned above might have fixed it. Great to hear it's been resolved! |
@ndelangen I tried with both 7.0.12 and v7.1.0-alpha.12 and is still not working :/ |
Still having an issue with version 8.1 |
Describe the bug
After migration from v6 to v7 we're seeing the following issue on Vercel:
![image](https://user-images.githubusercontent.com/110028255/236424643-d673bf97-ef1d-4406-b793-a0ab30143763.png)
Build works great anywhere except on Vercel. Seems like an issue with vite:dts plugin. Obviously, everything builds correctly, it's just the last step of the build where it fails to find a specific TS declaration file on the disk for some reason.
It's a fairly straightforward boilerplate setup with React and Vite as an UI library.
The project itself is contained within a PNPM monorepo and we're installing all monorepo dependencies prior to trying to build. Project folder itself is set as the project root. This configuration works great for a bunch of other projects we have and this seems to be working fine as well for this package as well - except for the last step.
I'd gladly report this to Vercel if this could actually be an issue on their end but I'm not sure it is as it seems like an issue with a file not being generated by the plugin properly or the file being accessed incorrectly.
To Reproduce
Try deploying a React+Vite Storybook project to Vercel.
System
Additional context
No response
The text was updated successfully, but these errors were encountered: