pm2.connect will hung out in background.js
Open
Nobody has claimed this yet.
stale
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
- Node.js : v12.18
- pm2.js : v4.4
- win10 x64
What's going wrong?
I am using pm2.connect on win10 , but the pm2.connect will hung out if I didn't run pm2 ls in command line before , How could I fix this problem ?
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 inspecting background.js and the pm2.connect path, then reproduce on Windows 10 with Node.js v12.18 and pm2 v4.4 without running pm2 ls first. Done means pm2.connect no longer hangs in that scenario and still connects normally after the initial start.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100