';宅地上涨';安装过程中出现抛出错误(外壳程序设置程序“args”)


'homestead up' throwing error (Shell provisioner `args`) during installation

在运行homestead up时遵循laravel安装指南后,我收到错误消息:

$ homestead up
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:
shell provisioner:
* Shell provisioner `args` must be a string or array.
* Shell provisioner `args` must be a string or array.

我的Homestead.yaml文件配置如下:

---
ip: "192.168.10.10"
memory: 2048
cpus: 1
authorize: ~/.ssh/id_rsa.pub
keys:
    - ~/.ssh/id_rsa
folders:
    - map: ~/Developer/PHP
      to: /home/vagrant/php
sites:
    - map: rmm.app
      to: /home/vagrant/php/rmm/public
      hhvm: true
databases:
    - name: homestead
variables:
    - key: APP_ENV
      value: local

尝试在Homestead.yaml配置中更改此设置

 databases: 
   - name: homestead 

databases: 
   - homestead

然后再次尝试运行家园。还要确保Homestead.yaml配置中的路径是正确的