简体   繁体   English

Laravel Homestead安装后无法启动流浪者(流浪者)

[英]Can't start vagrant after Laravel Homestead installation (vagrant up)

I followed all the steps in the laravel homestead installation, but after issuing 'vagrant up' command I get this messages: 我按照laravel宅基地安装中的所有步骤进行操作,但在发出'vagrant up'命令后,我收到以下消息:

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
'

What can be the problem? 可能是什么问题?

Ok, I got it... Vagrant is not fond of tabs in the Homestead.yaml file... The indentation must be with spaces and exact. 好吧,我明白了... Vagrant不喜欢Homestead.yaml文件中的标签...缩进必须是空格和精确的。

Just substituted the tabs with spaces and vagrant is able to start. 只需用空格替换标签,并且可以启动流浪汉。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM