Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMMAND undefined, COMM instead #11

Closed
marwin79 opened this issue Mar 13, 2021 · 2 comments
Closed

COMMAND undefined, COMM instead #11

marwin79 opened this issue Mar 13, 2021 · 2 comments

Comments

@marwin79
Copy link

const child = processes.find((p) => p.COMMAND.match(/node/i));

TypeError: Cannot read property 'match' of undefined at /usr/local/lib/node_modules/@iobroker/dev-server/dist/index.js:398:59 at Array.find (<anonymous>) at DevServer.waitForNodeChildProcess (/usr/local/lib/node_modules/@iobroker/dev-server/dist/index.js:398:37) at processTicksAndRejections (node:internal/process/task_queues:93:5) at async DevServer.startAdapterDebug (/usr/local/lib/node_modules/@iobroker/dev-server/dist/index.js:391:27) at async DevServer.debug (/usr/local/lib/node_modules/@iobroker/dev-server/dist/index.js:170:9) at async Object.handler (/usr/local/lib/node_modules/@iobroker/dev-server/dist/index.js:86:28)

On my MacOS with nodejs v15.5.1, the object looks like this:

[ { PPID: '65302', PID: '65304', STAT: 'S+', COMM: '/usr/local/Cellar/node/15.5.1/bin/node' } ]

@UncleSamSwiss
Copy link
Collaborator

Created the following issue: indexzero/ps-tree#48

@UncleSamSwiss
Copy link
Collaborator

@marwin79 Can you please verify the issue is fixed on MacOS?

UncleSamSwiss added a commit that referenced this issue Apr 1, 2021
Disabled license info dialog at first start-up (#10)
Fixed issue on MacOS about "COMMAND" property (#11)
Fixed issue where error output from parcel (or tsc) would kill the application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants