remote-control: "bad option: --sdk-url" with Homebrew Node 22
Resolved 💬 3 comments Opened Feb 27, 2026 by peureka Closed Mar 3, 2026
Version: 2.1.62
Node: v22.22.0 (Homebrew)
OS: macOS
Error:
/opt/homebrew/Cellar/node@22/22.22.0_1/bin/node: bad option: --sdk-url
The spawn call uses process.execPath (raw Node binary) as execPath but doesn't include the script path in argv. Node interprets --sdk-url as its own flag.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗