http-proxy-to-socks icon indicating copy to clipboard operation
http-proxy-to-socks copied to clipboard

module.js:549 error when running hpts

Open noobslayer404 opened this issue 6 years ago • 3 comments

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: screenshot from 2018-07-16 10-40-25

noobslayer404 avatar Jul 16 '18 07:07 noobslayer404

What's the version of your node? I guess sudo apt-get install npm is unnecessary which may cause your problem.

oyyd avatar Jul 20 '18 09:07 oyyd

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 avatar Sep 19 '19 03:09 polyamide

@polyamide You are right. [email protected] is broken.. This is fixed in [email protected].

oyyd avatar Sep 20 '19 10:09 oyyd