urgent #9292
-
when ever i type npm start after creating the react app confusion folder i am getting an error saying missing:script. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Please give more information about the issue. Project structure or package.json content, etc. You can refer to a template as well. |
Beta Was this translation helpful? Give feedback.
-
log file details would be helpful! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Give more information about your problem |
Beta Was this translation helpful? Give feedback.
Okay i tried to recreate the error and i found the reason. make sure you have
"scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" },
in your package.json file.
if this script code is missing you will get the error.
check the screenshot!
After removing the selected code i got the missing script error.