http-browserify icon indicating copy to clipboard operation
http-browserify copied to clipboard

globalAgent not defined

Open ghost opened this issue 10 years ago • 3 comments

Hi, I am using browserify, and I am facing an issue with some modules (example node-couchdb) that require the http module. The error is Cannot set property 'maxSockets' of undefined After some debugging, it seems that globalAgent is not defined in the http-browserify module. Do you have any hints regarding this issue? Do you think this can fixed on your side? Thank you

ghost avatar May 08 '15 15:05 ghost

same here.

sebs avatar Oct 14 '16 22:10 sebs

issue still present. Affected package id [email protected] http-browserify id [email protected]

h3ph4est7s avatar Jul 28 '17 22:07 h3ph4est7s

I'm getting this too. For now I'm hardcoding the values in my browserified output, but I am a little surprised - I feel like client side usage of the etherscan API would be prolific? I guess I am wrong?

Inzidious avatar Sep 28 '17 08:09 Inzidious