ERROR with Qwik: inconsistencies between "wrangler pages dev" and production URL

I have my Qwik application which when running these commands:

qwik build followed by wrangler pages dev ./dist --compatibility-flags nodejs_compat rpc --compatibility-date=2024-03-20 it works perfectly locally

the problem is when I deploy it that I get a 500 error directly. I don't even know how to debug this because locally it works (using
wrangler
) so I'm confused

any hints?
Was this page helpful?