I just created a react app by using the create-react-app command and I gave the app the name react-app. I followed these steps
- cdinto that directory using- cd react-app/
- running the npm startcommand
I ran into an error that says;
npm ERR! Missing scripts: start npm ERR! A complete log of this run can be found in: C:\Users\user\Appdata\Roaming\npm-cache\_logs\2020-11-09T07_00_18_996z-debug.log
Edit: Here is the content of my package.json:
{
  "name": "react-app",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "react": "^17.0.1",
    "react-dom": "^17.0.1",
    "react-scripts": "4.0.0"
  }
}
Adding those scripts to my package.js worked but initiated another issue. Here is the snippet. Thanks folks enter image description here
 
     
    