Модераторы: 2man
  

Поиск:

Ответ в темуСоздание новой темы Создание опроса
> Ошибки при установки Laravel на win 7, Устанавливаю впервые 
:(
    Опции темы
Illusionoff
Дата 3.3.2019, 20:34 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Новичок



Профиль
Группа: Участник
Сообщений: 6
Регистрация: 25.2.2019

Репутация: нет
Всего: нет



Устанавливаю по:
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 сейчас такой:
Код
---
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:
Код

illus@illusion MINGW64 /
$ vagrant box add laravel/homestead
==> box: Loading metadata for box 'laravel/homestead'
    box: URL: [URL=https://vagrantcloud.com/laravel/homestead]https://vagrantcloud.com/laravel/homestead[/URL]
This box can work with multiple providers! The providers that it
can work with are listed below. Please review the list and choose
the provider you will be working with.

1) hyperv
2) parallels
3) virtualbox
4) vmware_desktop

Enter your choice: 3
==> box: Adding box 'laravel/homestead' (v7.1.0) for provider: virtualbox
The box you're attempting to add already exists. Remove it before
adding it again or add it with the `--force` flag.

Name: laravel/homestead
Provider: virtualbox
Version: 7.1.0

illus@illusion MINGW64 /
$ cd C:\Users\illus
bash: cd: C:Usersillus: No such file or directory

illus@illusion MINGW64 /
$ cd C:\Users\illus
bash: cd: C:Usersillus: No such file or directory

illus@illusion MINGW64 /
$ cd Users
bash: cd: Users: No such file or directory

illus@illusion MINGW64 /
$ cd c:\
> cd Users
bash: cd: too many arguments

illus@illusion MINGW64 /
$ cd\
>

illus@illusion MINGW64 ~
$ cd c:\Users

illus@illusion MINGW64 /c/Users
$ cd illus

illus@illusion MINGW64 ~
$ cd c:\Users\illus
bash: cd: c:Usersillus: No such file or directory

illus@illusion MINGW64 ~
$ cd /illus
bash: cd: /illus: No such file or directory

illus@illusion MINGW64 ~
$ cd c:\Users\illus
bash: cd: c:Usersillus: No such file or directory

illus@illusion MINGW64 ~
$ cd c:\Users

illus@illusion MINGW64 /c/Users
$ cd c:\Users\illus
bash: cd: c:Usersillus: No such file or directory

illus@illusion MINGW64 /c/Users
$ cd \illus

illus@illusion MINGW64 ~
$ pwd
/c/Users/illus

illus@illusion MINGW64 ~
$ git clone [URL=https://github.com/laravel/homestead.git]https://github.com/laravel/homestead.git[/URL] Homestead
Cloning into 'Homestead'...
remote: Enumerating objects: 3314, done.
remote: Total 3314 (delta 0), reused 0 (delta 0), pack-reused 3314
Receiving objects: 100% (3314/3314), 703.87 KiB | 1.79 MiB/s, done.
Resolving deltas: 100% (2004/2004), done.

illus@illusion MINGW64 ~
$ git checkout v8.1.0
fatal: not a git repository (or any of the parent directories): .git

illus@illusion MINGW64 ~
$ git checkout v8.0.2
fatal: not a git repository (or any of the parent directories): .git

illus@illusion MINGW64 ~
$ git checkout v8.0.1
fatal: not a git repository (or any of the parent directories): .git

illus@illusion MINGW64 ~
$ cd Homestead

illus@illusion MINGW64 ~/Homestead (master)
$ git checkout v8.1.0
Note: checking out 'v8.1.0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 7a47985


Весь текст не выводит форум

Код

$ 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
PM MAIL   Вверх
  
Ответ в темуСоздание новой темы Создание опроса
0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей)
0 Пользователей:
« Предыдущая тема | Другие движки / фрейморки | Следующая тема »


 




[ Время генерации скрипта: 0.1100 ]   [ Использовано запросов: 22 ]   [ GZIP включён ]


Реклама на сайте     Информационное спонсорство

 
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности     Powered by Invision Power Board(R) 1.3 © 2003  IPS, Inc.