Error: Cannot find module ‘react-scripts/package.json”

The react-script class library file is missing

Solution: Install react-script

yarn add react-script -dev
Copy the code

The installation is complete and can be started normally