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.
pm2 describe fails with Cannot read property 'length' of undefined (on pm2_env.node_args)
#762
I just upgraded my pm2 to version 0.10.8 (not sure what the old version was). I couldn't do a proper in-memory upgrade, since pm2 was somehow killed during the upgrade (I first did an upgrade as root without --unsafe-perms and then with --unsafe-perms, perhaps that's related). After loading a previously dumped config using
pm2 resurrect
, things are running again. However, the
pm2 describe
command now fails.
brevidiusbeheer@kia:~/.pm2/logs$ pm2 describe flash-socket-policy-server
Describing process with pid 0 - name flash-socket-policy-server
/usr/local/lib/node_modules/pm2/lib/CliUx.js:71
{ 'node v8 arguments' : pm2_env.node_args.length != 0 ? pm2_env.node_args
TypeError: Cannot read property 'length' of undefined
at Object.UX.describeTable (/usr/local/lib/node_modules/pm2/lib/CliUx.js:71:46)
at /usr/local/lib/node_modules/pm2/lib/CLI.js:1295:12
at Array.forEach (native)
at /usr/local/lib/node_modules/pm2/lib/CLI.js:1294:18
at /usr/local/lib/node_modules/pm2/node_modules/pm2-axon-rpc/lib/client.js:45:10
at Parser.<anonymous> (/usr/local/lib/node_modules/pm2/node_modules/pm2-axon/lib/sockets/req.js:68:8)
at Parser.EventEmitter.emit (events.js:95:17)
at Parser._write (/usr/local/lib/node_modules/pm2/node_modules/pm2-axon/node_modules/amp/lib/stream.js:91:16)
at doWrite (_stream_writable.js:226:10)
at writeOrBuffer (_stream_writable.js:216:5)
Here is the ~/.pm2/dump.pm2 file. I removed env vars and some paths (replaced
with xxx) that I didn't think were relevant (and I didn't want to expose).
Metadata
Metadata
Assignees
Labels
Projects
Milestone
Relationships
Development
Issue actions