http-proxy-to-socks
http-proxy-to-socks copied to clipboard
module.js:549 error when running hpts
i am using ubuntu 18, after installing node.js and npm through: sudo apt-get install node.js sudo apt-get install npm
and i run the command in terminal:
hpts
I get this error:
What's the version of your node? I guess sudo apt-get install npm
is unnecessary which may cause your problem.
Just install the lastest version (1.1.1
), and I have the same problem.
My node version is v11.15.0
and npm is 6.7.0
. They're installed by nvm.
After looking at node_modules/http-proxy-to-socks
, it seems the lib
directory is missing.
In my case, install an older version (1.1.0
) works.
@polyamide You are right. [email protected]
is broken.. This is fixed in [email protected]
.