Getting error deploying Cloudflare worker
I am using tanstack start version
1.121.26 Vite plugin
here is my vite.conf.ts
Here is my wrangler.jsonc
Getting error while running npx wrangler deploy
Am I missing something, or does anyone have the same problem? Help me, please.2 Replies
absent-sapphire•6mo ago
The target is called
cloudflare-module and not cloudflare-worker.
You can also add the "compatibility_flags": ["nodejs_compat"], flag to your wrangler.jsonc file.sensitive-blueOP•6mo ago
Worked like a charm, Thanks