Bug: React gives me an error when stating with yarn start
See original GitHub issueReact version: ^17.0.2
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"web-vitals": "^1.0.1"
Steps To Reproduce
- make a new React app
- start react app using yarn start
Link to code example: not needed as its a new project
The current behavior
React gives me error when starting.
The expected behavior
React starts with no errors
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
How can I solve web vital error when I try yarn start?
Try node --version to see which version of node you are using. If it is a v17+, then you are likely hitting this...
Read more >Old React App Not Starting | Solution | Yarn Start Error
I created this app one and half year ago. I used create-reat-app to start this react project. Node JS has been upgraded, react...
Read more >Strict Mode - React
React 16.3 added a third option that offers the convenience of a string ref ... With Strict Mode starting in React 18, whenever...
Read more >Troubleshooting common React Native bugs - LogRocket Blog
First, you can try reinstalling the whole dependencies directory. If a major dependency is somehow changed in your repository, it could cause ...
Read more >Troubleshooting | React Navigation
Sometimes it might even be due to a corrupt installation. If clearing cache didn't work, try deleting your node_modules folder and run npm...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just tried renaming my folder. It works now. thanks
The same just happened to us, when we upgraded to node 16. that’s a node 16 warning because of the
postcss
version react-scripts is using.the last postcss version has the fix