create-react-app
initializes a repository where babel-loader is installed as an older version than needed.
LOG:
There
You can momentarily downgrade react-scripts
to 1.1.5
in the package.json
file, then remove the node_modules
folder and in the case of using NPM delete the package-lock.json
file and in case Yarn delete the file yarn.lock
.
After that, reinstall the dependencies and start the development server with the yarn start
or npm run start
command.