-3

"npm ERR! missing script: start

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\CHANDAN MISHRA\AppData\Roaming\npm-cache_logs\2020-05-01T 23_11_13_476Z-debug.log"

1 Answers1

0

One of npm's features is the ability to define scripts in package.json. You can read the details here. npm start runs which ever command is defined as the start script.

This error appears to be telling you that you have not defined the start script at all. An example for Angular: if you want npm start to serve the project via a development server, your package.json would look like this:

"scripts": {
  "start": "ng serve"
}

This question discusses more details of Angular and package.json

McKay M
  • 448
  • 2
  • 8