Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing script #9

Open
zilahir opened this issue Feb 28, 2022 · 0 comments
Open

missing script #9

zilahir opened this issue Feb 28, 2022 · 0 comments

Comments

@zilahir
Copy link

zilahir commented Feb 28, 2022

(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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant