Open cameralis opened 1 year ago
Could this be an issue with blessed?
Same here
TypeError: Cannot read properties of null (reading 'slice')
at /root/.nvm/versions/node/v18.17.0/lib/node_modules/pm2/node_modules/blessed/lib/program.js:2543:35
at Array.forEach (
pm2 version: 5.3.0
Same here.
❯ pm2 monit
TypeError: Cannot read properties of null (reading 'slice')
at /Users/adrian.helvik/.volta/tools/image/packages/pm2/lib/node_modules/blessed/lib/program.js:2543:35
at Array.forEach (<anonymous>)
at Program._attr (/Users/adrian.helvik/.volta/tools/image/packages/pm2/lib/node_modules/blessed/lib/program.js:2542:11)
at Element._parseTags (/Users/adrian.helvik/.volta/tools/image/packages/pm2/lib/node_modules/blessed/lib/widgets/element.js:479:26)
at Element.parseContent (/Users/adrian.helvik/.volta/tools/image/packages/pm2/lib/node_modules/blessed/lib/widgets/element.js:393:22)
at Box.<anonymous> (/Users/adrian.helvik/.volta/tools/image/packages/pm2/lib/node_modules/blessed/lib/widgets/element.js:184:10)
at EventEmitter._emit (/Users/adrian.helvik/.volta/tools/image/packages/pm2/lib/node_modules/blessed/lib/events.js:94:20)
at EventEmitter.emit (/Users/adrian.helvik/.volta/tools/image/packages/pm2/lib/node_modules/blessed/lib/events.js:117:12)
at emit (/Users/adrian.helvik/.volta/tools/image/packages/pm2/lib/node_modules/blessed/lib/widgets/node.js:109:15)
at Node.insert (/Users/adrian.helvik/.volta/tools/image/packages/pm2/lib/node_modules/blessed/lib/widgets/node.js:111:5)
Probably an issue with blessed though. I'll see if I can determine what is causing this.
I submitted a PR to blessed to resolve this issue.
What's going wrong?
I run pm2 monit while a process is running. When specific text is outputted into the log, monit crashes.
How could we reproduce this issue?
I honestly have no idea
Supporting information
pm2 v5.2.2 node v16.19.1