Use command create-react-app as usual. Then after you've got errors due React 19, delete folder node_modules and files package.json and package-lock.json.
After that, add files package.json and package-lock.json from archive below - these files are backup versions from when last stable was React 18.3.1
After that, run command npm install
You'll get working React 18.3.1 App as before)