Closed yannuil closed 6 years ago
Hi @yannuil
It was impossible for me to reproduce. It seems debug module has an empty or null namespace.
Could you console.log(err) just before this line : https://github.com/keymetrics/pm2-io-apm/blob/1f96795a5b575adea4bf1cdf6d4944c27e9e5ba0/src/utils/module.ts#L13 You can find this module under node_modules/@pm2/io directory of your pm2 installation.
Could you also run pm2 report
?
the debug module is wrongly instanciated @wallet77 https://github.com/keymetrics/pm2-io-apm/blob/master/src/utils/module.ts#L5, plz dbl check other debug statement
It's already identified, wip.
It's fixed on 2.1.1
$ npm install pm2@latest -g
$ pm2 update
Installed pm2@3.0.0 and it came with the lastest @pm2/io@2.1.0. Tried to start a node application and got this error.
Manually installed @pm2/io@2.0.3. The error got away and managed to start the node application successfully.