express-typescript icon indicating copy to clipboard operation
express-typescript copied to clipboard

missing script

Open zilahir opened this issue 2 years ago • 0 comments

(removed the template, as this is a generic error, not a functional one).

Check Dockerfile:

# Run node server
CMD npm run start

check package.json:

 "scripts": {
    "build": "tsc --project './tsconfig.json'",
    "dev": "tsc --project './tsconfig.json' --watch & NODE_ENV=development nodemon dist",
    "test": "tsc --project './tsconfig.json' && ./node_modules/.bin/mocha dist/**/*.spec.js",
    "lint": "./node_modules/.bin/tslint -c tslint.json 'src/**/**.ts'"
  }

notice, there's no declared command with the name of start.

zilahir avatar Feb 28 '22 17:02 zilahir