pm2 icon indicating copy to clipboard operation
pm2 copied to clipboard

Problem with pmx module:Cannot convert undefined or null to object

Open mihailssh opened this issue 10 years ago • 6 comments

pm2 1.1.3 node v5.11.1 Fedora TypeError: Cannot convert undefined or null to object at getOwnPropertyNames (native) at Function.assign (/home/mihail/blue-vending/node_modules/traceur/bin/traceur-runtime.js:163:19) at process.target.send (internal/child_process.js:518:22) at ipcSend (/usr/lib/node_modules/pm2/node_modules/pmx/lib/utils/transport.js:22:13) at Object.Transport.send (/usr/lib/node_modules/pm2/node_modules/pmx/lib/utils/transport.js:33:3) at Timeout._repeat (/usr/lib/node_modules/pm2/node_modules/pmx/lib/Probe.js:120:17) at Timeout.wrapper as _onTimeout at Timer.unrefdHandle (timers.js:445:14) Process disconnected from parent !

mihailssh avatar Jun 08 '16 06:06 mihailssh

Do you use custom metrics?

Unitech avatar Jun 14 '16 11:06 Unitech

nope, just updated to the latest version.

On Jun 14, 2016, at 2:22 PM, Alexandre Strzelewicz <[email protected]mailto:[email protected]> wrote:

Do you use custom metrics?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Unitech/pm2/issues/2213#issuecomment-225852381, or mute the threadhttps://github.com/notifications/unsubscribe/AFD_gnUfU5UUIXZoImBWx1-1UbvH360Uks5qLo7ggaJpZM4IwpyV.

mihailssh avatar Jun 14 '16 11:06 mihailssh

have the same problem in one of our client projects when I am using node >= 6.0.0

Uter1007 avatar Aug 25 '16 11:08 Uter1007

here is my error Process disconnected from parent ! TypeError: Cannot convert undefined or null to object at Function.assign (/home/developer/src/o/node_modules/traceur/bin/traceur-runtime.js:201:19) at process.target.send (internal/child_process.js:518:22) at ipcSend (/home/developer/.nvm/versions/node/v6.4.0/lib/node_modules/pm2/node_modules/pmx/lib/utils/transport.js:22:13) at Object.Transport.send (/home/developer/.nvm/versions/node/v6.4.0/lib/node_modules/pm2/node_modules/pmx/lib/utils/transport.js:33:3) at process.catchException (/home/developer/.nvm/versions/node/v6.4.0/lib/node_modules/pm2/node_modules/pmx/lib/notify.js:43:15) at process.g (events.js:286:16) at emitOne (events.js:96:13) at process.emit (events.js:188:7) at process._fatalException (bootstrap_node.js:296:26) at process._asyncFatalException [as _fatalException] (/home/developer/src/o/node_modules/async-listener/glue.js:211:34)

Uter1007 avatar Aug 25 '16 11:08 Uter1007

@Uter1007 The version v6.4.0 is breaking a lot of things, we disabled our test suite with it for this reason, i recommend you to downgrade or wait for update.

vmarchaud avatar Aug 25 '16 12:08 vmarchaud

hmm problem still occures with LTS Version, any update ?

Uter1007 avatar Mar 27 '17 08:03 Uter1007