seanpmaxwell / express-generator-typescript

Create a new express app similar to express-generator but with TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm run start is stuck

thehaseebahmed opened this issue · comments

I have not done anything special. Just generated a new project, added sentry and swagger. Everything runs fine with npm run start:dev but for some reason, npm run start runs and is stuck there indefinitely.

image

Any idea what I might be doing wrong?

@seanpmaxwell do you have time to look at this?

did you build the code first?

Oh I know what the issue is, this actually isn't an issue. For production the logs are printed to a file instead of the console. That's why it hangs like that. If you want to print the logs back to the console you need to update the production.env file under the pre-start/ folder.