首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Windows上的Vagrant / PuPHPet错误

Windows上的Vagrant / PuPHPet错误
EN

Stack Overflow用户
提问于 2015-03-11 01:31:33
回答 1查看 186关注 0票数 0

我工作的公司已经决定在灯的设置中拥抱"Vagrant“。因为我是第一个接触团队之间的代码库的人,所以我选择了设置"Vagrantfile“。我已经回家了,在那里我也使用了Windows,并且可以重新创建错误。

从这里开始:

代码语言:javascript
复制
: command not foundnt/puphpet/shell/os-detect.sh: line 2:

我有一连串的问题:

代码语言:javascript
复制
: command not foundnt/puphpet/shell/os-detect.sh: line 9:
'=> default: grep: invalid option -- '
==> default: Usage: grep [OPTION]... PATTERN [FILE]...
==> default: Try grep --help' for more information. ==> default: /vagrant/puphpet/shell/os-detect.sh: line 15: syntax error near unexpected tokenelif'
'=> default: /vagrant/puphpet/shell/os-detect.sh: line 15: elif [ -f '/etc/redhat-release' ]; then : command not foundnt/puphpet/shell/os-detect.sh: line 2: : command not foundnt/puphpet/shell/os-detect.sh: line 9: '=> default: grep: invalid option -- ' ==> default: Usage: grep [OPTION]... PATTERN [FILE]... ==> default: Trygrep --help' for more information.
==> default: /vagrant/puphpet/shell/os-detect.sh: line 15: syntax error near unexpected token elif' '=> default: /vagrant/puphpet/shell/os-detect.sh: line 15:elif [ -f '/etc/redhat-release' ]; then
: command not foundnt/puphpet/shell/os-detect.sh: line 2:
: command not foundnt/puphpet/shell/os-detect.sh: line 9:
'=> default: grep: invalid option -- '
==> default: Usage: grep [OPTION]... PATTERN [FILE]...
==> default: Try grep --help' for more information. ==> default: /vagrant/puphpet/shell/os-detect.sh: line 15: syntax error near unexpected tokenelif'
'=> default: /vagrant/puphpet/shell/os-detect.sh: line 15: `elif [ -f '/etc/redhat-release' ]; then

我确信这是OSX和Windows之间的字符问题,但我无法检测到这个问题。

EN

回答 1

Stack Overflow用户

发布于 2015-03-12 03:42:38

这个问题根本与Vagrant或PuPHPet无关,这就是为什么我无法从Vagrant或VM中拉出错误的原因。问题出在我的网关,它正在节流来自VM的连接,因此它不是“出错”,而是从"yum“非常非常慢地下载包。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28970331

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档