Vagrant up 出错,怎么弄啊?

Administrator@PC-20170720BICL MINGW32 ~/Homestead (v7.8.0)
$ vagrant up
C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/psych.rb:377:in parse': (<unknown>): could not find expected ':' while scanning a simple key at line 23 column 5 (Psych::SyntaxError) from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/psych.rb:377:inparse_stream'
from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/psych.rb:325:in parse' from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/psych.rb:252:inload'
from C:/Users/Administrator/Homestead/Vagrantfile:28:in block in <top (required)>' from C:/HashiCorp/Vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/config/v2/loader.rb:37:inload'
from C:/HashiCorp/Vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/config/loader.rb:126:in `block (2 levels) in load'

《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
leo
最佳答案

Homestead.yml 配置不正确,自己仔细检查

5年前 评论
讨论数量: 3
leo

Homestead.yml 配置不正确,自己仔细检查

5年前 评论

ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:

  • ~/.ssh/id_rsa
  • ~/.ssh/id_rsa.pub

folders:

  • map: ~/code
    to: /home/vagrant/code

sites:

  • map: shop.test
    to: /home/vagrant/code/laravel-shop/public

databases:

  • homestead
    -laravel-shop
    哪个地方不对?
5年前 评论

我知道了,谢谢,少个空格

5年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!