keymetrics / pm2-plus-tech-questions

http://docs.keymetrics.io/docs/pages/faq-troubleshooting/
27 stars 3 forks source link

stupid error on my part #302

Open edwardsmarkf opened 1 year ago

edwardsmarkf commented 1 year ago

hello -

too early in the morning i meant to type 'npm' but forgot and typed this instead:

pm2 install is-ip;

and now whenever i do pm2 update; i get this nasty message:

[PM2][Module] Starting NPM module is-ip
[PM2][WARN] Applications  not running, starting...
[
  Error: No script path - aborting
      at Object.Common.resolveAppAttributes (/usr/lib/node_modules/pm2/lib/Common.js:647:11)
      at /usr/lib/node_modules/pm2/lib/API.js:1129:35
      at /usr/lib/node_modules/pm2/node_modules/async/internal/withoutIndex.js:8:40
      at replenish (/usr/lib/node_modules/pm2/node_modules/async/internal/eachOfLimit.js:81:17)
      at /usr/lib/node_modules/pm2/node_modules/async/internal/eachOfLimit.js:86:9
      at eachLimit (/usr/lib/node_modules/pm2/node_modules/async/eachLimit.js:47:43)
      at awaitable (/usr/lib/node_modules/pm2/node_modules/async/internal/awaitify.js:13:28)
      at startApps (/usr/lib/node_modules/pm2/lib/API.js:1113:7)
      at /usr/lib/node_modules/pm2/lib/API.js:1094:16
      at wrapper (/usr/lib/node_modules/pm2/node_modules/async/internal/once.js:12:16)
]

i am sure there is an easy fix, but pm2 delete is-ip; and pm2 remove is-ip; does not appear to solve the issue.
is there some file i need to edit? or do i need to completely remove/reinstall pm2? or should i just ignore this message?