flipace / whoport

A simple CLI tool to check if and which PID uses a given port number and optionally kill it.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node path issue on Debian

BonneVoyager opened this issue · comments

Hi,

I tried to run whoport on Debian 8 (jessie) and got:

/usr/bin/env: node --harmony: No such file or directory

Then I tried which node and got:

/opt/nodejs/bin/node

Basically, Node.js path is not recognised properly.

Thanks

hey @BonneVoyager, this should work now in v0.1.2 it seems like the harmony flag is not supported the way i used it in some distributions.

Works like a charm (tested on recent Ubuntu, Debian and CentOS).