Laravel Homestead安装后无法启动无业游民(无业游民) [英] Can't start vagrant after Laravel Homestead installation (vagrant up)

查看:80
本文介绍了Laravel Homestead安装后无法启动无业游民(无业游民)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遵循了laravel homestead安装中的所有步骤,但是在发出"vagrant up"命令后,我收到了以下消息:

I followed all the steps in the laravel homestead installation, but after issuing 'vagrant up' command I get this messages:

C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/psych.rb:205:in `parse': (<unknown>
): found a tab character that violate intendation while scanning a plain scalar
at line 17 column 11 (Psych::SyntaxError)
        from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/psych.rb:205:in `parse
_stream'
        from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/psych.rb:153:in `parse
'

可能是什么问题?

推荐答案

好吧,我明白了……流浪汉不喜欢Homestead.yaml文件中的制表符...缩进必须正确且空格.

Ok, I got it... Vagrant is not fond of tabs in the Homestead.yaml file... The indentation must be with spaces and exact.

只需用空格替换选项卡,即可启动vagrant.

Just substituted the tabs with spaces and vagrant is able to start.

这篇关于Laravel Homestead安装后无法启动无业游民(无业游民)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆