What wrangler version are you on?

What wrangler version are you on?
10 Replies
jason
jason7mo ago
I didn't realize Pages used wrangler from my project to deploy? Curious why that is. If it occurs with a less recent version of wrangler, then that's the cause because the SvelteKit cloudflare adapter uses an older version of wrangler
"peerDependencies": { "@sveltejs/kit": "^2.0.0", "wrangler": "^3.28.4" },
Looks like 3.28.4 Installing the latest wrangler as a project dependency did not resolve this error. This project is using nodejs_compat (not v2), which is why the error seems to be a bug in cloudflare. Guess I'll wait it out to see if/when others encounter it this too.
Cyb3r-Jak3
Cyb3r-Jak3OP6mo ago
Maybe try updating your compatibly date to 2024-09-23
jason
jason6mo ago
same result
No description
No description
Nick
Nick6mo ago
I'm encountering the same issue with compatibility date set to "2024-09-09" and a devDependency of wrangler 3.76.0. Modifying the wrangler.toml file seems to have no effect, despite clearing build cache, disabling build cache, and disconnecting and reconnecting the GitHub connection. I'm able to get rebuilds to return a different result by deleting and recreating the Pages project. Doing that with the "experimental:" prefix resulted in a different error: Failed to publish your Function. Got error: No such compatibility flag: experimental:nodejs_compat_v2
l4j3b
l4j3b6mo ago
I am having the same issue 21:40:30.496 ✘ [ERROR] The nodejs_compat_v2 compatibility flag is experimental and must be prefixed with experimental:. Use experimental:nodejs_compat_v2 I tried to reset it in my wrangler, remove it etc. but nothing worked... I can't deploy my app at the moment definitely a bug somewhere
kyeoul
kyeoul6mo ago
Running into the same issue as well
l4j3b
l4j3b6mo ago
@Cyb3r-Jok3 any updates on that issue? @Cloudflare @Cloudflare (Dev) I need my app unstuck
Cyb3r-Jak3
Cyb3r-Jak3OP6mo ago
From what I’ve gathered team has working on it but I don’t have an ETA for a fix
jason
jason6mo ago
This is now fixed, and the versions shown here now deploy successfully https://discord.com/channels/595317990191398933/1282858613097889864/1283135807481184326
l4j3b
l4j3b5mo ago
I am starting to have "Error: code challenge does not match previously saved code verifier" for no reason I am using CF Pages, supabase I did not change anything

Did you find this page helpful?