rvanrooy
rvanrooy

Reputation: 91

Getting Node.io to work through a proxy

I'm trying to use node.io (web scraping module) through a proxy. I know it has untested support for proxies built in, but I cannot get it to work. Does anyone know how to get it working?

Thanks,

Upvotes: 6

Views: 443

Answers (1)

xerius
xerius

Reputation: 94

You have to configure npm to make node to use a proxy server;

npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080'

Upvotes: 0

Related Questions