Closed jeffminsungkim closed 4 years ago
@kamilmysliwiec Hi, Kami. I'm not sure why you closed the thread.
Since, typescript-starter and the nest new
command use new CLI commands, it addresses the same issue that I've mentioned.
Can you start the project when you hit npm run start:prod
from either the typescript-starter
or the Nest CLI?
This has been discussed many times in the past already. There's no prebuild
hook for start:prod
. See old issues in typescript-starter repo
I'm submitting a...
Current behavior
When I hit the
start:prod
command, I get the following error message.Expected behavior
Nest CLI should either provide a prestart command for production or
prebuild
andbuild
command needs to be executed beforehand.Minimal reproduction of the problem with instructions
Create a new project using Nest CLI.
What is the motivation / use case for changing the behavior?
Environment