Unitech / Unitech/pm2

[ERROR] pm2 start

Open
#5,552 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

What's going wrong?

pm2 start "./web.js -c ./config.json"
[PM2][ERROR] File ./web.js -c ./config.json not found
But it is ok in the system.

image image image

How could we reproduce this issue?

I will update the files if you need.

Supporting information

pm2 -v
5.2.2
It's ok in other deamons. It means PM2 was installed successful.

$ pm2 report

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 reproducing the exact pm2 start "./web.js -c ./config.json" command with PM2 5.2.2 and compare it with the working daemon commands shown in the issue. Trace the pm2 start argument handling to determine whether the reported command is parsed as intended, then verify the result with pm2 report and a minimal reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.