-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
Examples:
I try with basic_proxy.js
May be, hard requariments of unnecessary dependences.
I walk in this steps.
git clone https://github.com/http-party/node-http-proxy.git
npm install
node ./examples/http/basic-proxy.jsits fails, y see in the file basic-proxy require('colors') and require('util'), and then i install it
npm i -s colors utilNext, btw it fails,
util.puts(welcome.rainbow.bold);
^
TypeError: util.puts is not a function
at Object.<anonymous> (D:\Lamiwet\proxy\node-http-proxy\examples\http\basic-proxy.js:41:6)
at Module._compile (internal/modules/cjs/loader.js:1185:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10)
at Module.load (internal/modules/cjs/loader.js:1034:32)
at Function.Module._load (internal/modules/cjs/loader.js:923:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47Metadata
Metadata
Assignees
Labels
No labels