tiaanduplessis / kill-port

❌ Kill the process running on given port

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sh is not a function

kenpeter opened this issue · comments

Hi,

I using Mac switching from bash to zsh, then zsh to bash.

TypeError, sh is not a function
Kill-port/index.is:18:10

Hi, also getting:

TypeError: sh is not a function
node_modules/kill-port/index.js:18:10

version 1.3.2

commented

I have managed to fix the issue by upgrading a peer dependency in package.json:

"shell-exec": "1.0.2"

But better to have a more official stable solution