create-react-app
create-react-app copied to clipboard
feat(react-scripts): check Node.js version early in CLI (#5430)
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.