pi0/nitro-cloudflare-dev

does the service binding not work in dev?

Closed this issue · 3 comments

image
[nitro] [unhandledRejection] Illegal invocation

at Object.waitUntil
at H3Event.event.waitUntil
at captureError
at Object.onError

This issue comes from recent changes in wrangler package, lock its version to 3.63.0 as a workaround in your package.json dependencies and the issue should be gone for now

- "wrangler": "^3.65.0"  
+ "wrangler": "3.63.0"

This error seems to happen in dev only since ExecutionContext does not exist in dev

This issue comes from recent changes in wrangler package, lock its version to 3.63.0 as a workaround in your package.json dependencies and the issue should be gone for now

- "wrangler": "^3.65.0"  
+ "wrangler": "3.63.0"

This error seems to happen in dev only since ExecutionContext does not exist in dev

thanks, i will try it later

pi0 commented

@Giancarlo-Ma you can now upgrade to latest without pinning dep as it is fixed in latest release.