hagopj13 / node-express-boilerplate

A boilerplate for building production-ready RESTful APIs using Node.js, Express, and Mongoose
MIT License
7k stars 2.05k forks source link

pm2: command not found when run docker compose #250

Closed Trung229 closed 1 year ago

Trung229 commented 1 year ago

malworld-back-end-node-app-1 | yarn run v1.22.19 malworld-back-end-node-app-1 | $ pm2-runtime ecosystem.config.json --no-daemon malworld-back-end-node-app-1 | /bin/sh: pm2-runtime: not found malworld-back-end-node-app-1 | error Command failed with exit code 127. malworld-back-end-node-app-1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.