-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Throws error in vercel and cloudflare #280
Comments
Same issue on Cloudflare. Local build works. Removing astro-compress solves the problem on Cloudflare. See also: Whether I get |
Running into this issue on Vercel as well, even after pinning to [email protected] according to this: |
Legend 🙏 |
I am using 2.2.19 and I am still getting an error trying to deploy my Astro build to Cloudfare. Astro 4.5.9.
|
It was due to the cache being enabled by default in
I'm assuming is due to an older Node version. Can you share which version of Node are you using ? |
I'm on Node 21.7.1. |
Like in #319 can you share an image so we can debug this further ? @kristianfrost |
getting when using
|
also just got
|
So, there's a |
Can you try the latest |
Tried
Is |
Heck..
No, |
v2.2.21 built okay on Vercel. Twice so far... |
Spoke too soon |
@kristianfrost @JojokCreator @jugoetz Can you give that a try with the latest |
|
sorry still getting |
I switched to @playform/compress v0.0.3 and building with node There's a change in the docs that I had not noticed before, that may be responsible for the build succeeding now. Previously, import compress from 'astro-compress';
// other stuff
integrations: [
...
compress(),
] now it is imported inline like integrations: [
...
(await import("@playform/compress")).default()
] |
Sorry, error is back again.
When building a static site on Vercel I'm getting an error thrown
I've tried using the code from #276
Which worked for a few deployments but is erroring again now.
I also tried on cloudflare but the same error. Builds okay locally.
The text was updated successfully, but these errors were encountered: