Answers for "how to fix npm ERR! missing script: start"

2

npm ERR! missing script: start

"scripts": {
   "start": "node app.js"
},
Posted by: Guest on December-19-2020
1

npm verbose stack error

{
  "name": "package-name",
  "version": "1.0.0",
  "description": "package description",
  "scripts": {
    "start": "node lib/server.js",
    "test": "echo "Error: no test specified" && exit 1"
  },
  "dependencies": {},
  "devDependencies": {}
}
Posted by: Guest on December-23-2020

Code answers related to "how to fix npm ERR! missing script: start"

Browse Popular Code Answers by Language