2013-10-08 184 views
1

我是流星js的新手。我只是想尝试一些样品。 但我无法安装。关于安装流星js

在安装使用

curl -x http_proxy https://install.meteor.com | /bin/sh 

我收到以下异常


%合计%收稿%Xferd平均速度时间时间时间 目前 DLOAD上传一共花左速度102 3586 0 3586 0 0 741 0 - : - : - 0:00:04 - : - : - 936下载流星分布卷曲:(7)无法连接到主机

gzip:stdin:文件意外结束tar:子状态返回状态1 tar: 错误不可恢复:立即退出安装失败。


尝试使用Git安装的其他方式。我用git clone下载并运行./meteor --help。为此,我得到了


这是您第一次从git checkout运行Meteor。 我将下载一个包含Meteor所有依赖项的工具包。

curl: (7) couldn't connect to host 

gzip: stdin: unexpected end of file 
tar: Child returned status 1 
tar: Error is not recoverable: exiting now Failed to install dependency kit. 

请帮助我如何安装。纠正我,如果我缺少任何安装。

在此先感谢。

回答

0

看起来URL是坏的?

curl -x http://https://install.meteor.com 

命令从the meteor examples page是:

curl https://install.meteor.com | sh 

您运行的是什么操作系统?

+0

感谢您的回复。我曾在Linux操作系统中尝试过。由于我的网络已启用代理功能,因此我已给予代理主机,如“curl -x http:// uname:password @ proxy_host:proxy_port https://install.meteor.com |/bin/sh” 。发布时已被删除。 – user2110228

+0

如果您没有安装节点js,有时会在Windows中专门安装流星时出现一些错误... –