hagopj13 / hagopj13/node-express-boilerplate

pm2: not found

Open
#132 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.7k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

Hello. I deployed the project to the aws ec2. It gives this error when running. I tried a few things but no results. how do i solve this?

```
node-app-prod | $ pm2 start ecosystem.config.json --no-daemon
node-app-prod | /bin/sh: pm2: not found
node-app-prod | error Command failed with exit code 127.
```

Contributor guide

Open the contributing guide

Research direction

Start with the deployment command in ecosystem.config.json and reproduce it on the AWS EC2 environment. Check how the project makes pm2 available to the shell; done when `pm2 start ecosystem.config.json --no-daemon` runs without the `/bin/sh: pm2: not found` error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript, node.js
Domain
cloud, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.