Pm2 installed according to the official documentation and did not see the file app.js.

official documentation: http://pm2.keymetrics.io/docs...

npm install pm2-g installed successfully

clipboard.png

pm2 start app.js

clipboard.png

Apr.16,2022

this app.js is written by you


pm2 just manages your program. App.js is the main file of the project you write. You can take a look at the basic usage of pm2

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b378c8-2c0ac.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b378c8-2c0ac.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?