I am new to react ,I have tried npm start, after I closed my pc once, after I restarted npm start is showing error, I have tried adding start command to my JSON file , still its not starting, I have googled it , even I tried all the methods mentioned here in stack overflow , but its showing error all the time.
CodePudding user response:
You have 2 package.json
file
First under \Covid 19 Tracker
folder
Second under \Covid 19 Tracker\Covid_19
folder
Seems like First Package.json
doesn't have start
script.
If you are trying to start app from wrong package.json, you will get this error. You should cd
into the inner folder (if you are trying to start react app).