#Getting {"status":500,"unhandled":true,"message":"HTTPError"} when deploying to Cloudflare.

4 messages · Page 1 of 1 (latest)

scarlet summit
#

I am not getting this when testing locally.

I also tried following this (#1430992910979039314 message) trick, but get a error saying Error: Handler does not export a fetch() function. at async Object.fetch after creating src/server.ts.

vale thicket
#

I found a "not so technical" fix for this problem. it mainly prevents the HMR update as soon as it picks up any error. as my VSCode was set for auto save, the preview was capturing the error rather than waiting for the writing to be finished. though it worked for VSCode, I think other code editor also have the same settings. enabling two options (attached with the image) working fine for me.

nocturne swift
#

hello @scarlet summit, I'm facing the same issue

old zodiac