Mikes-MacBook-Pro:~ Mike$ pm2 start app.js --name "shopify-monitor"
[PM2][ERROR] script not found : /Users/Mike/app.js
script not found : /Users/Mike/app.js
● Agent Online | Dashboard Access: https://app.keymetrics.io/#/r/shuw3mwhbwtqo4g | Server name: Mike
┌─────────────────┬──────┬─────────┬────┬─────┬────────┐
│ Name │ mode │ status │ ↺ │ cpu │ memory │
├─────────────────┼──────┼─────────┼────┼─────┼────────┤
│ shopify-monitor │ fork │ errored │ 48 │ 0% │ 0 B │
└─────────────────┴──────┴─────────┴────┴─────┴────────┘
Module activated
┌──────────────────┬─────────┬─────┬────────┐
│ Module │ status │ cpu │ mem │
├──────────────────┼─────────┼─────┼────────┤
│ pm2-server-monit │ errored │ 0% │ 0 B │
└──────────────────┴─────────┴─────┴────────┘
Use pm2 show <id|name> to get more details about an app
Mikes-MacBook-Pro:~ Mike$ cd shopify monitor
-bash: cd: shopify: No such file or directory
Mikes-MacBook-Pro:~ Mike$ pm2 start app.js --name "shopify-monitor"
[PM2][ERROR] script not found : /Users/Mike/app.js
script not found : /Users/Mike/app.js
● Agent Online | Dashboard Access: https://app.keymetrics.io/#/r/shuw3mwhbwtqo4g | Server name: Mike
┌─────────────────┬──────┬─────────┬────┬─────┬────────┐
│ Name │ mode │ status │ ↺ │ cpu │ memory │
├─────────────────┼──────┼─────────┼────┼─────┼────────┤
│ shopify-monitor │ fork │ errored │ 48 │ 0% │ 0 B │
└─────────────────┴──────┴─────────┴────┴─────┴────────┘
you didnt make it into the shopify-monitor directory. so starting app.js is not going to happen since it doesnt live in "/Users/MIke/" try cd shopify-monitor or dir to list the directories in /Users/MIke.
Mikes-MacBook-Pro:~ Mike$ pm2 start app.js --name "shopify-monitor" [PM2][ERROR] script not found : /Users/Mike/app.js script not found : /Users/Mike/app.js ● Agent Online | Dashboard Access: https://app.keymetrics.io/#/r/shuw3mwhbwtqo4g | Server name: Mike ┌─────────────────┬──────┬─────────┬────┬─────┬────────┐ │ Name │ mode │ status │ ↺ │ cpu │ memory │ ├─────────────────┼──────┼─────────┼────┼─────┼────────┤ │ shopify-monitor │ fork │ errored │ 48 │ 0% │ 0 B │ └─────────────────┴──────┴─────────┴────┴─────┴────────┘ Module activated ┌──────────────────┬─────────┬─────┬────────┐ │ Module │ status │ cpu │ mem │ ├──────────────────┼─────────┼─────┼────────┤ │ pm2-server-monit │ errored │ 0% │ 0 B │ └──────────────────┴─────────┴─────┴────────┘ Use
pm2 show <id|name>
to get more details about an app Mikes-MacBook-Pro:~ Mike$ cd shopify monitor -bash: cd: shopify: No such file or directory Mikes-MacBook-Pro:~ Mike$ pm2 start app.js --name "shopify-monitor" [PM2][ERROR] script not found : /Users/Mike/app.js script not found : /Users/Mike/app.js ● Agent Online | Dashboard Access: https://app.keymetrics.io/#/r/shuw3mwhbwtqo4g | Server name: Mike ┌─────────────────┬──────┬─────────┬────┬─────┬────────┐ │ Name │ mode │ status │ ↺ │ cpu │ memory │ ├─────────────────┼──────┼─────────┼────┼─────┼────────┤ │ shopify-monitor │ fork │ errored │ 48 │ 0% │ 0 B │ └─────────────────┴──────┴─────────┴────┴─────┴────────┘