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
fascinating-indigo•3mo 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.metropolitan-bronzeOP•3mo ago
Worked like a charm, Thanks