让Node.io通过代理工作

rva*_*ooy 6 proxy node.js node.io

我正在尝试通过代理使用node.io(网络抓取模块).我知道它对内置的代理有未经测试的支持,但我无法让它工作.有谁知道如何让它工作?

谢谢,

小智 0

你必须配置 npm 才能使 Node 使用代理服务器;

npm 配置集代理http://proxy.company.com:8080
npm 配置集 https-proxy http://proxy.company.com:8080 '