Does cloudflare-vite work with a Python worker?

I'm trying to use a python backend with an app built with the React quickstart. I thought I could just change the main clause in my wranger.json to main: "worker/entry.py" , I'm getting this error from miniflare: Incorrect type for Promise: the Promise did not resolve to 'Response'. at async ProxyServer.fetch (file:///home/ME/MYAPP/node_modules/miniflare/src/workers/core/proxy.worker.ts:173:11
2 Replies
jeremy
jeremy2w ago
Is "python_workers" enabled in "compatability flags"?
yolo
yoloOP2w ago
Yup

Did you find this page helpful?