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 realize now after reading the docs I was supposed to pass the pm2 id, but passing an invalid argument like I did should probably print the docs/manual or a message instead?
/usr/lib/node_modules/pm2/lib/God.js:176
God.clusters_db[id].opts.max = 0;
^
TypeError: Cannot read property 'opts' of undefined
at Object.God.stopProcessId (/usr/lib/node_modules/pm2/lib/God.js:176:22)
at server.expose.stopId (/usr/lib/node_modules/pm2/lib/Satan.js:106:11)
at Server.onmessage (/usr/lib/node_modules/pm2/node_modules/axon-rpc/lib/server.js:94:6)
at RepSocket.EventEmitter.emit (events.js:98:17)
at Parser.onmessage (/usr/lib/node_modules/pm2/node_modules/axon/lib/sockets/rep.js:47:15)
at Parser.frameBody (/usr/lib/node_modules/pm2/node_modules/axon/lib/parser.js:106:10)
at Parser.write (/usr/lib/node_modules/pm2/node_modules/axon/lib/parser.js:50:13)
at Parser.frameHeader (/usr/lib/node_modules/pm2/node_modules/axon/lib/parser.js:81:30)
at Parser.write (/usr/lib/node_modules/pm2/node_modules/axon/lib/parser.js:49:36)
at Socket.EventEmitter.emit (events.js:95:17)
The text was updated successfully, but these errors were encountered:
I realize now after reading the docs I was supposed to pass the pm2 id, but passing an invalid argument like I did should probably print the docs/manual or a message instead?
root@ubuntu-desktop:/mnt/Projects/server/Notify-Example# pm2 stop index.js
⌬ PM2 Stopping processindex.js
/usr/lib/node_modules/pm2/lib/God.js:176
God.clusters_db[id].opts.max = 0;
^
TypeError: Cannot read property 'opts' of undefined
at Object.God.stopProcessId (/usr/lib/node_modules/pm2/lib/God.js:176:22)
at server.expose.stopId (/usr/lib/node_modules/pm2/lib/Satan.js:106:11)
at Server.onmessage (/usr/lib/node_modules/pm2/node_modules/axon-rpc/lib/server.js:94:6)
at RepSocket.EventEmitter.emit (events.js:98:17)
at Parser.onmessage (/usr/lib/node_modules/pm2/node_modules/axon/lib/sockets/rep.js:47:15)
at Parser.frameBody (/usr/lib/node_modules/pm2/node_modules/axon/lib/parser.js:106:10)
at Parser.write (/usr/lib/node_modules/pm2/node_modules/axon/lib/parser.js:50:13)
at Parser.frameHeader (/usr/lib/node_modules/pm2/node_modules/axon/lib/parser.js:81:30)
at Parser.write (/usr/lib/node_modules/pm2/node_modules/axon/lib/parser.js:49:36)
at Socket.EventEmitter.emit (events.js:95:17)
The text was updated successfully, but these errors were encountered: