Answers for "missing script: serve"

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

Browse Popular Code Answers by Language