Build files differ across environments #77281
monolithed
started this conversation in
Turbopack Error Report
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Locally, I don’t see any errors, but they randomly appear in production after each rebuild.
I tried catching them on test environments, but they are not reproducible there either because the builds differ. Even on -projects.vercel.app environments, where the build should be identical, files with the same names have different sizes!
I see two problems here: 1) It's impossible to catch errors locally, 2) Vercel creates different builds each time. It's impossible to test the code on a staging environment and deploy the same build to production.
Is this a bundler error?
Beta Was this translation helpful? Give feedback.
All reactions