Having issue to run the api on cluster-mode on typebot
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"
}
]
}

2 Replies
I'm sorry it's beyond my knowledge here 🤔
No problem, I found another way to solve this problem