且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

LARAVEL错误-提供无业游民之后的Hashicorp/嵌入式错误

更新时间:2023-01-18 20:52:26

我已经工作了大约1个星期,我想与您分享使我取得成果的解决方案. 我注意到该解析错误是由于homestead.yaml文件中的选项卡引起的,当我再次复制homestead.yaml文件时,此错误已得到解决.

I've been working for about 1 week and I want to share with you the solution that got me a result. This parse error, which I noticed was due to a tab in the homestead.yaml file, was fixed when I copied the homestead.yaml file again.

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

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: ~/Projects_Laravel
      to: /home/vagrant/Projects_Laravel

sites:
    - map: homestead.test
      to: /home/vagrant/Projects_Laravel/laravel/public

databases:
    - homestead

features:
    - mariadb: false
    - ohmyzsh: false
    - webdriver: false

# ports:
#     - send: 50000
#       to: 5000
#     - send: 7777
#       to: 777
#       protocol: udp

这是我的homestead.yaml 您可以通过复制解决方案并编辑自己的文件名来获得解决方案.祝你好运.

this is my homestead.yaml You can get the solution by copying it and editing your own file names. good luck.