Cannot deploy AdonisJS app on cyberpanel successfully

PM2 does not serve your app its just a prcoess manager think of it like a “logger” but its just more than that with built in load balancer

Install it globally and save/start your app

$ cd /home/myadonisjsapp.com/public_html
$ npm install pm2 -g
# add app to pm2
$ pm2 start server.js --name "mypwa" --watch
# daemonize your app
$ pm2 startup && pm2 save
# to see all your node apps
$ pm2 list
# Display all apps logs in realtime
$ pm2 monit