开发者

Getting Node.io to work through a proxy

开发者 https://www.devze.com 2023-03-12 06:36 出处:网络
I\'m trying to use node.io (web scraping module) through a proxy. I know it has untested support for proxies built in, bu开发者_如何学Got I cannot get it to work. Does anyone know how to get it workin

I'm trying to use node.io (web scraping module) through a proxy. I know it has untested support for proxies built in, bu开发者_如何学Got I cannot get it to work. Does anyone know how to get it working?

Thanks,


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'

0

精彩评论

暂无评论...
验证码 换一张
取 消