Any ideas why the deploy command would
Any ideas why the deploy command would work in the terminal, but fails if aliased as a
package.json
script?
Works:
wrangler pages deploy
directly in the terminal.
Fails:
// package.json
"pages:deploy": "wrangler pages deploy",
OR
"pages:deploy": "npx wrangler pages deploy",
The same Wrangler version 4.12.0 is used globally and in the project.4 Replies
What is your Node version and what compat flag do you have on for Wrangler config?
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
I get the same result with Node (npx) and Bun (bunx).
@Ponjimon not yet
what is the error you are getting in the terminal or logs?