-
Notifications
You must be signed in to change notification settings - Fork 286
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
Vanilla Extract - Failed to load resource: the server responded with a status of 504 (Outdated Optimize Dep) error #2266
Comments
Thanks for reporting. We are adding Also, can you try removing |
Yes. |
@frandiox any progress on this? After merging your PR problem still occurs :( |
Hi @blittle 👋, I wanted to check in and ask if fixing this issue is planned for an upcoming version. We have a large project that we’d love to migrate to Vite, but we’re currently unable to do so because we use Vanilla Extract. I’d greatly appreciate any information you could provide 🙏. Cheers! |
We're experiencing the same issue and it's blocking us as well. The steps to reproduce provided above are accurate, but here's an example repository with the issue reproduced in the As described, Vanilla Extract doesn't work with the latest release. Importing a Vanilla Extract class causes React, Remix and Hydrogen to fail with |
I was having the same issues here.
After many days debugging, I still couldn't figure what causing it, it seemed like there was an issue with Vanilla Extract caused vite to hang during the pre-build process. There was an issue reported here: vanilla-extract-css/vanilla-extract#1408 I downgraded vanila-extract to version 3.9.5, and the problem was gone. All vanila-extract version 4.0 and up, were affected. |
What is the location of your example repository?
No response
Which package or tool is having this issue?
Hydrogen
What version of that package or tool are you using?
2024.4.5
What version of Remix are you using?
2.9.2
Steps to Reproduce
npm create @shopify/hydrogen@latest
@vanilla-extract/css
and@vanilla-extract/vite-plugin
vite.config.ts
Expected Behavior
There shouldn't be an error and vanilla-extract should work
Actual Behavior
Console errors and vanilla-extract doesn't work
The text was updated successfully, but these errors were encountered: