Unitech / Unitech/pm2

pm2.connect will hung out in background.js

Open
#4,773 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.