Устанавливаю по: 1) https://badcode.ru/kak-ustanovit-laravel-ho...ead-na-windows/2) https://laravel.com/docs/5.8/homesteadПробовал так же все пути называть как в 1). При установки виртуальной машины пошли ошибки. Переспросила путь Без подсветки | | vm: | * The host path of the shared folder is missing: C:/OSPanel/domains/new-laravel.test |
|
|
в файле Homestead.yaml исправил на Без подсветки | | folders: | - map: C:\OSPanel\domains\project1 | to: /home/vagrant/code/project1 |
|
|
Соответственно создал эту директорию. Файл Homestead.yaml сейчас такой: Без подсветки | 1: | 2: | 3: | 4: | 5: | 6: | 7: | 8: | 9: | 10: | 11: | 12: | 13: | 14: | 15: | 16: | 17: | 18: | 19: | 20: | 21: |
| --- | ip: "192.168.10.10" | memory: 2048 | cpus: 1 | provider: virtualbox | | authorize: C:\Users\illus\.ssh\id_rsa.pub | | keys: | - C:\Users\illus\.ssh\id_rsa | | folders: | - map: C:\OSPanel\domains\project1 | to: /home/vagrant/code/project1 | | sites: | - map: new-laravel.test | to: /home/vagrant/code/public | | databases: | - new-laravel |
|
|
Вот весь листинг git bash: Весь текст не выводит форум Без подсветки | 1: | 2: | 3: | 4: | 5: | 6: | 7: | 8: | 9: | 10: | 11: | 12: | 13: | 14: | 15: | 16: |
| $ vagrant up | Bringing machine 'homestead-7' up with 'virtualbox' provider... | ==> homestead-7: Importing base box 'laravel/homestead'... | Progress: 80%There was an error while executing `VBoxManage`, a CLI used by Vagrant | for controlling VirtualBox. The command and stderr is shown below. | | Command: ["import", "\\\\?\\C:\\Users\\illus\\.vagrant.d\\boxes\\laravel-VAGRANTSLASH-homestead\\7.1.0\\virtualbox\\box.ovf", "--vsys", "0", "--vmname", "ubuntu-18.04-amd64_1551608886500_59011", "--vsys", "0", "--unit", "11", "--disk", "C:/Users/illus/VirtualBox VMs/ubuntu-18.04-amd64_1551608886500_59011/ubuntu-18.04-amd64-disk001.vmdk"] | | Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | Interpreting \\?\C:\Users\illus\.vagrant.d\boxes\laravel-VAGRANTSLASH-homestead\7.1.0\virtualbox\box.ovf... | OK. | 0%...10%...20%...30%...40%...50%...60%...70%...80%... | Progress state: E_INVALIDARG | VBoxManage.exe: error: Appliance import failed | VBoxManage.exe: error: Code E_INVALIDARG (0x80070057) - One or more arguments are invalid (extended info not available) | VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleImportAppliance(struct HandlerArg *)" at line 957 of file VBoxManageAppliance.cpp |
|
|
Это сообщение отредактировал(а) Illusionoff - 3.3.2019, 20:45
|