简体   繁体   中英

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:

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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