john-smilga / react-projects

4.78k stars 3.86k forks source link

npm start not working on react-scripts version 3.4.3 #21

Closed SankThomas closed 3 years ago

SankThomas commented 3 years ago

I'm cloning this repository in February 2021 with react-scripts having been upgraded to version 4.0.2. When I ran npm install && npm start without updating react-scripts, meaning I'm using the version from the project's package.json, the dev server doesn't run. Updating react-scripts fixed the issue, but I had to run npm audit fix --force which npm doesn't recommend. npm-force I think there should be a more painless way to do this...

SankThomas commented 3 years ago

I'm cloning this repository in February 2021 with react-scripts having been upgraded to version 4.0.2. When I ran npm install && npm start without updating react-scripts, meaning I'm using the version from the project's package.json, the dev server doesn't run. Updating react-scripts fixed the issue, but I had to run npm audit fix --force which npm doesn't recommend. npm-force I think there should be a more painless way to do this...

I should also say, I started the course last year in 2020 and I didn't have any issue with running npm start