create-react-app icon indicating copy to clipboard operation
create-react-app copied to clipboard

feat(react-scripts): check Node.js version early in CLI (#5430)

Open DipakHalkude opened this issue 3 months ago • 1 comments

DipakHalkude avatar Sep 23 '25 11:09 DipakHalkude

Problem: Node requirement errors show late, after react-scripts starts, causing confusing failures. Issue requests checking Node version early.

Change: Add an early Node.js version guard to packages/react-scripts/bin/react-scripts.js, failing fast with a clear message if Node < 14.

Rationale: Mirrors existing create-react-app entrypoint behavior; aligns with engines.node: >=14.

Impact: Clearer error for unsupported Node versions; no impact on supported environments.

DipakHalkude avatar Sep 23 '25 11:09 DipakHalkude