陨石错误克隆Mac [英] meteorite error Cloning Mac
问题描述
这是我尝试运行陨石时不断出现的错误
This is the error I keep getting when I try to run meteorite
$ mrt
在陨石做事的时候站起来 ✓路由器 标签: https://github.com/tmeasday/meteor-router.git#v0 .5.3
Stand back while Meteorite does its thing ✓ router tag: https://github.com/tmeasday/meteor-router.git#v0.5.3
/usr/local/lib/node_modules/meteorite/lib/sources/git.js:108 抛出克隆存储库时出现问题:" + self.url; ^ 克隆存储库时出现问题: https://github.com/tmeasday/meteor-router.git
/usr/local/lib/node_modules/meteorite/lib/sources/git.js:108 throw "There was a problem cloning repo: " + self.url; ^ There was a problem cloning repo: https://github.com/tmeasday/meteor-router.git
我已经尝试过sudo -H npm install -g meteorite
我已经安装并重新安装了很多次
我已经安装了git,已经安装了Xcode,已经安装了Homebrew,还有流星.
所有这些工作.
I've tried sudo -H npm install -g meteorite
I've installed and reinstalled it a bunch of times
I have git installed, I have Xcode installed, I have Homebrew installed and I have meteor.
All of those work.
这是我的$PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin
This is my $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin
这是which Git
/usr/local/bin/git
This is which Git
/usr/local/bin/git
这是which mrt
/usr/local/bin/mrt
This is which mrt
/usr/local/bin/mrt
不确定这是否相关,但是Mac中有两个驱动器,一个具有用户文件夹,另一个具有系统文件.
Not sure if this is relevant but I have two drives in my Mac one that has the user folder and the other that has system files.
有帮助吗?我是unix newb,所以请非常清楚解决方案.谢谢
Any help? I'm a unix newb so please be very clear on solutions. Thanks
推荐答案
发现错误,请确保卷名称没有空格.我的空间很小,而Meteorite的git.js不能解决这个问题.只需重命名没有空间的卷即可,它应该可以工作.
Found the Error, make sure the Volume name has no SPACES. Mine had a few spaces and Meteorite git.js doesn't account for that. Just rename the Volume with no SPACES and it should work.
这篇关于陨石错误克隆Mac的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!