[OpenNext] Unexpected errors and warnings in Cloudflare build logs
Hey folks, I'm migrating from Next-on-Pages to OpenNext and started seeing some errors and warnings in my Cloudflare build logs that previously only appeared during local development. It seems like the app is being built in a "local" context, even after pushing to prod. For example, errors like:
Cannot access [service binding method] as we couldn't find a `wrangler dev` session for service "[service name]" to proxy to.
I'm familiar with these locally, but why would they occur during preview/prod deployments? Has anyone else faced this issue?1 Reply
Well what's your build command in your wrangler.toml?
Or wrangler.jsonc