As per the title, I don't want to use
npx create-react-app app-name
, because that command installs react (17x) and react-scripts (4.x)
I tried
npm init react-app app-name --scripts-version 3.4.4
, but even though it installs react-scripts (v3.4.4), it still installs react (17.x)
Also, this gives another error:
error : Cannot find module 'cra-template'
EDIT: To clarify, I want to use CRA for sure. Just not with the current versions of react-17, react-dom-17, and react-scripts-4
I also don't want to waste time installing v17.x, and v4.x, delete them manually, modify package.json to the versions I want, and npm (re-)install. That will work, but it's not the point.