I followed some processes to start pm2 in clustered mode only for the viewer API, but I'm receiving the error on the uploaded image, it works fine if I change it to 'fork' mode.
It's an issue with the viewer application or it's an issue with next? If anyone could help me it would be great! Thanks in advance.
my json -> {
"apps": [
{
"name": "aio-bot",
"instances": "1",
"script": "pnpm",
"args": [
"start"
],
"port": "3001",
"exec_mode": "cluster"
}
]
}
Add a reply
Sign up and join the conversation on Discord