You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I seem to be getting the wrong pm2 version. (I want to make sure I am on the latest version which may apparently fix an ESM issue I'm having which looks like #4540 .)
Apologies if missing something obvious here.
How could we reproduce this issue?
This is how I reproduce, but I don't know if there is some environmental difference:
npm install pm2@latest -g
pm2 -v shows 2.10.2
which pm2 shows /home/node/.nvm/versions/node/v14.17.1/bin/pm2
Supporting information
$ pm2 report
===============================================================================
--- PM2 REPORT (Mon Apr 04 2022 01:40:13 GMT+0000 (Coordinated Universal Time))
===============================================================================
--- Daemon -------------------------------------------------
pm2d version : 2.10.2
node version : 14.17.1
node path : /usr/bin/pm2
argv : /home/node/.nvm/versions/node/v14.17.1/bin/node,/usr/lib/node_modules/pm2/lib/Daemon.js
argv0 : node
user : node
uid : 1000
gid : 1000
uptime : 4min
===============================================================================
--- CLI ----------------------------------------------------
local pm2 : 2.10.2
node version : 14.17.1
node path : /usr/bin/pm2
argv : /home/node/.nvm/versions/node/v14.17.1/bin/node,/usr/bin/pm2,report
argv0 : node
user : node
uid : 1000
gid : 1000
===============================================================================
--- System info --------------------------------------------
arch : x64
platform : linux
type : Linux
cpus : AMD EPYC 7402P 24-Core Processor
cpus nb : 1
freemem : 149520384
totalmem : 1304961024
home : /home/node
===============================================================================
--- PM2 list -----------------------------------------------
┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬─────┬─────┬──────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │
└──────────┴────┴──────┴─────┴────────┴─────────┴────────┴─────┴─────┴──────┴──────────┘
===============================================================================
--- Daemon logs --------------------------------------------
┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬─────┬─────┬──────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │
└──────────┴────┴──────┴─────┴────────┴─────────┴────────┴─────┴─────┴──────┴──────────┘
Use `pm2 show <id|name>` to get more details about an app
The text was updated successfully, but these errors were encountered:
What's going wrong?
I seem to be getting the wrong pm2 version. (I want to make sure I am on the latest version which may apparently fix an ESM issue I'm having which looks like #4540 .)
Apologies if missing something obvious here.
How could we reproduce this issue?
This is how I reproduce, but I don't know if there is some environmental difference:
npm install pm2@latest -g
pm2 -v
shows 2.10.2which pm2
shows/home/node/.nvm/versions/node/v14.17.1/bin/pm2
Supporting information
The text was updated successfully, but these errors were encountered: