我在使用 OVH CLOUD VPS 和 NodeJS / MeteorJS 时遇到问题。尝试进行流星更新时,我收到:
Unable to update package catalog (are you offline?)
If you are using Meteor behind a proxy, set HTTP_PROXY and HTTPS_PROXY environment variables or see this page for more details: https://github.com/meteor/meteor/wiki/Using-Meteor-behind-a-proxy
尝试执行任何 npm install 包时,我得到:
npm ERR! Error: connect ECONNREFUSED
npm ERR! at errnoException (net.js:904:11)
npm ERR! at Object.afterConnect [as oncomplete] (net.js:895:19)
npm ERR! { [Error: connect ECONNREFUSED]
npm ERR! code: 'ECONNREFUSED',
npm ERR! errno: 'ECONNREFUSED',
npm ERR! syscall: 'connect' }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly. See: 'npm help config'
我已经在谷歌上搜索了一段时间,所有与制作 npm 设置注册表或添加/删除 npm 配置(设置/删除)代理的解决方案都没有带来解决方案。
你们中有人解决了如何在 OVH VPS 上使用 NPM / METEOR 吗?