Deploy cloudlfare worker error
I'm trying to deploy my tanstack start app to cloudflare workers. When I deploy with wrangler CLI it works fine, but when I connect my github so that it triggers deploy when I push some code the deploy fails. Here are logs from cloudflare:
as you can see I have two environments in my wrangler.toml:
1. develop
2. production
any idea how to fix it? š
5 Replies
rival-blackOPā¢3mo ago
it suggest that
vite build should generate wrangler.json in .output/server/wrangler.json but I cannot see anything like this
okay, I've added --env develop to my deploy script: wrangler deploy --env develop and now getting such error:
and adding CLOUDFLARE_ENV=production doesn't help neitherflat-fuchsiaā¢3mo ago
Iām having the same issue
harsh-harlequinā¢3mo ago
Did you find any solution for this @radek1313 ?
rival-blackOPā¢3mo ago
Unfortunately no, @Manuel Schiller is there some way to handle this?
quickest-silverā¢3mo ago
we'll soon fully support the vite cloudflare plugin