Open randnix opened 4 years ago
We're trying to use PM2 with a NodeJS application using the NestJS framework. The whole thing is typescript.
We've followed the instructions here: https://pm2.io/docs/runtime/integration/transpilers/
But running the application this is all we get:
pm2 start src/main.ts
[PM2] Starting D:\MySandbox\2020\ixccs7\ix7-gql-api\src\main.ts in fork_mode (1 instance) [PM2] Done. ⇆ PM2+ activated | Instance Name: MSI-e9c0 | Dash: https://app.pm2.io/#/r/############ ┌─────┬─────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬────────── ┐ │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │ ├─────┼─────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼────────── ┤ │ 0 │ main │ default │ 1.0.0 │ fork │ N/A │ 0 │ 0 │ errored │ 0% │ 0b │ randn │ disabled │ └─────┴─────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴────────── ┘
Obviously, we have no problems running the application without PM2. Nothing is logged and there are no issues in the dashboard..
Also, we are able to run pm2 against the transpiled JS files in the Dist directory
The problem is probably with our configuration, but we're just not getting any information to try and troubleshoot. Any ideas?
We're trying to use PM2 with a NodeJS application using the NestJS framework. The whole thing is typescript.
We've followed the instructions here: https://pm2.io/docs/runtime/integration/transpilers/
But running the application this is all we get:
pm2 start src/main.ts
[PM2] Starting D:\MySandbox\2020\ixccs7\ix7-gql-api\src\main.ts in fork_mode (1 instance) [PM2] Done. ⇆ PM2+ activated | Instance Name: MSI-e9c0 | Dash: https://app.pm2.io/#/r/############ ┌─────┬─────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬────────── ┐ │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │ ├─────┼─────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼────────── ┤ │ 0 │ main │ default │ 1.0.0 │ fork │ N/A │ 0 │ 0 │ errored │ 0% │ 0b │ randn │ disabled │ └─────┴─────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴────────── ┘
Obviously, we have no problems running the application without PM2. Nothing is logged and there are no issues in the dashboard..
Also, we are able to run pm2 against the transpiled JS files in the Dist directory
The problem is probably with our configuration, but we're just not getting any information to try and troubleshoot. Any ideas?