PM2 starts crazy clusters
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
using node 6.14.15 on windows 11, I run
"pm2start": "npx pm2 start build/server.js -i 1",
I run it using npm run pm2start
and it launches 16 instances when I only want one.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the npm run pm2start command on Windows 11 with Node 6.14.15, using the reported npx pm2 start build/server.js -i 1 entry point. Inspect how the -i option is parsed and how the requested instance count is selected. Done means the command launches exactly one instance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100