Reject Unsupported Node.js Versions Before Startup
Add an early Node.js version guard to the CLI and build entry points, declare the supported engine range, and return a clear error with a nonzero exit code for unsupported versions.
Explore challenge
The problem
Add an early Node.js version guard to the CLI and build entry points, declare the supported engine range, and return a clear error with a nonzero exit code for unsupported versions.
Start with these discussions
- Fix(cli) Proposal: 让入口守卫在 Node 24.0–24.1 上失败可见,并把它们移出 engines 范围github · ▲1 · 1 comments
- Node 20 causes npx @deepseek-ai/dsh web to hang without a clear version errorgithub · ▲1 · 0 comments