Unitech / Unitech/pm2

pm2 current dir is useless

Open
#5,123 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?

i have an react app which im deploying to server with pm2 deploy but when the app is building my server reports 404 because current/build/index.html does not exists

How could we reproduce this issue?

deploy react app with pm2 deploy ecosystem.config while app is building check status of your page

Supporting information

is there an option to create releases directory that will contain all releases while building an app and if success change simlink to current direcotry ?

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

Reproduce the failure by deploying the React app with the PM2 ecosystem configuration and checking the page while the build runs. Start by tracing how pm2 deploy handles the current directory; done would mean releases can be built separately and current changes only after a successful build.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, react
Domain
devops, release
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.