sindresorhus / fkill-cli

Fabulously kill processes. Cross-platform.
MIT License
6.88k stars 159 forks source link

Aggregate Error in mac os HighSierra #50

Open zymr-keshav opened 6 years ago

zymr-keshav commented 6 years ago

Macos v 10.1.3.3 ( High Sierra)

There is a process running on the port 8083 ; I have checked from lsof command and When I try to kill a process using port number than it gives following error:

fkill :8083

AggregateError: Error: Killing process 64708 failed: Process doesn't exist at Array.map () at processExists.all.then.then (/usr/local/lib/node_modules/fkill-cli/node_modules/fkill/index.js:83:10) at at processExists.all.then.then (/usr/local/lib/node_modules/fkill-cli/node_modules/fkill/index.js:83:10) at at process._tickCallback (internal/process/next_tick.js:188:7)

sindresorhus commented 6 years ago

@kevva Any idea what this could be?

tjconcept commented 6 years ago

Saw this too.

$ fkill gpg
? Error killing process. Would you like to use the force? Yes
AggregateError: 
    Error: Killing process gpg failed: Process doesn't exist
        at Array.map (<anonymous>)
        at processExists.all.then.then (/Users/tj/.npm-config/lib/node_modules/fkill-cli/node_modules/fkill/index.js:83:10)
    at processExists.all.then.then (/Users/tj/.npm-config/lib/node_modules/fkill-cli/node_modules/fkill/index.js:83:10)
    at process._tickCallback (internal/process/next_tick.js:68:7)