-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Hi, I'm using yarn 3.3.1 with zero-installs enabled and I just figured we can't use yarn with pm2 when in cluster mode, as it only works with JS files.
Is there anything I can do about it?
Here is what my pm2 ecosystem.config.js looks like:
module.exports = {
apps : [
{
name: "api",
script: "yarn",
args: ['start'],
cwd: './modules/api',
interpreter: "/bin/bash",
// It works if removes these 2 lines
instances: 2,
exec_mode: 'cluster',
}
]
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels