Thank you for the reply, aaP_hareeshnarayan1982. I managed to finally get the project up and running, part of the problem was outdated an nodejs and npm. I reinstall the Cloud server with Ubuntu 22, reinstall AAPanel and PM2 Manager.
I didn't realize I had to create a Node server file, which was what I was missing, and that was my launch file, for those who need it, here it is:
const { createServer } = require('http');
const { parse } = require('url');
const next = require('next');
const dev = process.env.NODE_ENV !== 'production';
const app = next({ dev });
const handle = app.getRequestHandler();
app.prepare().then(() => {
createServer((req, res) => {
const parsedUrl = parse(req.url, true);
handle(req, res, parsedUrl);
}).listen(3000, (err) => {
if (err) throw err;
console.log('> Ready on http://localhost:3000');
});
});
I named this server.js and left it in my root project directory.
Here is the screenshot of PM2 setup now.

On PM2, once you changed the Node version to the latest (I'm on version 18) and you add the modules (one by one and click install), clicking save should be successfully create the project.
Hope this helps.