Задать вопрос
@bezuglowski

Как правильно настроить окружение для PHP, с Vagrant и Homestead?

Я в этом деле новичок, пытаюсь настроить виртуальную машину, но не понимаю в чем проблема.
При попытке ввода:
vagrant box add laravel/homestead

вылетает следующее:
30: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/bin/vagrant:168:in `<
main>'
        29: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/bin/vagrant:168:in `n
ew'
        28: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/environme
nt.rb:178:in `initialize'
        27: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/environme
nt.rb:983:in `process_configured_plugins'
        26: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/environme
nt.rb:955:in `find_configured_plugins'
        25: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/environme
nt.rb:943:in `guess_provider'
        24: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/environme
nt.rb:347:in `default_provider'
        23: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/registry.
rb:48:in `each'
        22: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/registry.
rb:48:in `each'
        21: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/registry.
rb:49:in `block in each'
        20: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/environme
nt.rb:361:in `block in default_provider'
        19: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/providers/hyp
erv/provider.rb:20:in `usable?'
        18: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/plat
form.rb:84:in `windows_admin?'
        17: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/plat
form.rb:82:in `block in windows_admin?'
        16: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/powe
rshell.rb:96:in `execute_cmd'
        15: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/powe
rshell.rb:195:in `validate_install!'
        14: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/powe
rshell.rb:174:in `version'
        13: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/subp
rocess.rb:22:in `execute'
        12: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/subp
rocess.rb:154:in `execute'
        11: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/safe
_chdir.rb:24:in `safe_chdir'
        10: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/safe
_chdir.rb:24:in `synchronize'
         9: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/safe
_chdir.rb:25:in `block in safe_chdir'
         8: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/safe
_chdir.rb:25:in `chdir'
         7: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/safe
_chdir.rb:26:in `block (2 levels) in safe_chdir'
         6: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/subp
rocess.rb:155:in `block in execute'
         5: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/childprocess-4.0.0/lib/childprocess/
abstract_process.rb:81:in `start'
         4: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/childprocess-4.0.0/lib/childprocess/
windows/process.rb:70:in `launch_process'
         3: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/childprocess-4.0.0/lib/childprocess/
windows/process_builder.rb:28:in `start'
         2: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/childprocess-4.0.0/lib/childprocess/
windows/process_builder.rb:67:in `create_environment_pointer'
         1: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/childprocess-4.0.0/lib/childprocess/
windows/process_builder.rb:44:in `to_wide_string'
C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/childprocess-4.0.0/lib/childprocess/windows/process_b
uilder.rb:44:in `encode!': "\xD0" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to UTF-16LE (Encod
ing::UndefinedConversionError)


Подскажите пожалуйста, как это исправить.
  • Вопрос задан
  • 237 просмотров
Подписаться 1 Простой 7 комментариев
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы