pm2 current dir is useless
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
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
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