Comments on: How to Run Angular Apps Using Angular CLI and PM2 https://www.tecmint.com/create-and-run-angular-apps-using-angular-cli-and-pm2/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 23 Mar 2023 07:21:42 +0000 hourly 1 By: Ravi Saive https://www.tecmint.com/create-and-run-angular-apps-using-angular-cli-and-pm2/comment-page-1/#comment-1987534 Thu, 23 Mar 2023 07:21:42 +0000 https://www.tecmint.com/?p=33540#comment-1987534 In reply to paulo.

@Paulo,

The command pm2 start "ng serve" is working fine, I just tried it on my Rocky Linux 9, and here is the command output:

[PM2] Spawning PM2 daemon with pm2_home=/root/.pm2
[PM2] PM2 Successfully daemonized
[PM2] Starting /usr/bin/bash in fork_mode (1 instance)
[PM2] Done.
┌────┬───────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name          │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
├────┼───────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0  │ sysmon-app    │ default     │ N/A     │ fork    │ 106347   │ 0s     │ 0    │ online    │ 0%       │ 57.0mb   │ root     │ disabled │
]]>
By: paulo https://www.tecmint.com/create-and-run-angular-apps-using-angular-cli-and-pm2/comment-page-1/#comment-1986134 Mon, 20 Mar 2023 15:01:31 +0000 https://www.tecmint.com/?p=33540#comment-1986134 The command pm2 start ng serve is not working anymore?

]]>