Skip to content

wrangler deploy silently exits with code 1 on Node.js v26 after banner (no error message) #14296

Description

@m7md1alaa

What versions & operating system are you using?

System:
OS: macOS 26.5.1
CPU: (8) x64 Apple M1
Memory: 423.53 MB / 8.00 GB
Shell: 4.0.2 - /usr/local/bin/fish
Binaries:
Node: 26.1.0
npm: 11.13.0
bun: 1.3.13
npmPackages:
wrangler: ^4.100.0 => 4.100.0

Please provide a link to a minimal reproduction

https://github.com/m7md1alaa/spot-healer

Describe the Bug

Running npx wrangler deploy (or node node_modules/wrangler/bin/wrangler.js deploy) prints the wrangler banner then silently exits with code 1. No error message is printed to stdout or stderr. The same command works correctly when run with Bun (bun --bun wrangler deploy).
WRANGLER_LOG=debug shows "event":"wrangler command errored" with "errorType":"Error" but does not surface the actual error text.

Please provide any relevant error logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    Status
    Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions