我在公司代理后面的Ubuntu 14.04.5 LTS上使用Meteor,但是无法应用任何更新甚至无法创建Meteor实例。运行流星更新可为我提供以下信息:
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
This project is already at Meteor 1.4.1.1, the latest release.
=> Errors while upgrading packages:
While downloading [email protected]...:
error: tunneling socket could not be established, cause=write EPROTO
139992700094336:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
protocol:../deps/openssl/openssl/ssl/s23_clnt.c:794:
等等-最后一个错误在所有其他软件包中重复。
安装Meteor时,需要在curl上使用'-k'或'--insecure'选项,否则会收到SSL错误。使用此选项(curl -k https://install.meteor.com/ | sh),Meteor可以很好地安装并且没有任何错误
我已经看到有关此错误的几个问题,并且修复程序适用于NPM等在Meteor之外的问题,但是对于Meteor,我仍然感到困惑。流星更新是否有类似的“-不安全”选项?还是有可以添加类似选项的脚本?流星实际上使用什么机制来请求更新?
设置https_proxy = http:// {proxy}对我有用!
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句