How to update the wrangler version from 3.76 to 3.91.0 on pages deploy

I've upgraded to wrangler@^3.91.0 in devDependencies of package.json and replaced wrangler.toml with the newly supported wrangler.json config file. This works perfectly in local development environment. However when auto-deploying to pages preview, wrangler 3.76.0 appears to called by default in the automated build. Since 3.76.0 has no awareness of wrangler.json, none of the bindings defined in the NEW wrangler.json config file are updated. Where is the default wrangler version for pages auto-deployment defined? What I have tried already: - ensured that wrangler@^3.91.0 is included in devDependencies of package.json for deployment - added a postinstall: "npm install wrangler@^3.91.0" to see if forcing install makes a difference (it doesn't)
1 Reply
Ricky U
Ricky U2w ago
Did you work out how to update wrangler in pages?

Did you find this page helpful?