browserify / http-browserify

node's http module, but for the browser
MIT License
244 stars 110 forks source link

globalAgent not defined #86

Open ghost opened 9 years ago

ghost commented 9 years ago

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

sebs commented 7 years ago

same here.

h3ph4est7s commented 7 years ago

issue still present. Affected package id etherscan-api@3.0.8 http-browserify id http-browserify@1.7.0

Inzidious commented 7 years ago

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?