npm ERR! missing script: start
npm ERR! missing script: start
In this session, we are going to try to solve the "npm ERR! missing script: start" puzzle by using the computer language.
I am getting an error `npm ERR! missing script: start` while executing the **`npm start`** command after creating a react app using **`npx create-react-app react-app`**.-
First run the
npm uninstall -g create-react-app
command and after that runnpm install -g create-react-app
andnpx create-react-app my-app
to get the solution for the error npm ERR! missing script: start.npm uninstall -g create-react-app
npm install -g create-react-app
npx create-react-app my-app
-
package.json
"scripts": { "start": "react-scripts start" }
find package.json file and add
"start": "react-scripts start"
under scripts.
If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.
Don't forget to share this article! Help us spread the word by clicking the share button below.
We appreciate your support and are committed to providing you valuable and informative content.
We are thankful for your never ending support.
Random Code Snippet Queries: Nodejs
- How to check the version of installed package with NPM
- How to check if chart.js is installed ?
- RESOLVE unable to resolve dependency tree
- How to convert json object to query string in node js
- How to convert query string to json object in node js
- Axios Delete request with body and headers in ReactJS
- Get list of all installed packages in node project