laravel windows 10 号宅基地
laravel homestead on windows 10
当我尝试安装 laravel homestead 时遇到问题
我使用 git 终端,当我尝试这个
$ vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead
我收到这个错误
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'laravel/homestead' (v0) for provider:
box: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead
box:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Could not resolve host: (nil); Host not found
很可能你应该更新 Vagrant。您的问题应该通过此提交得到解决:https://github.com/mitchellh/vagrant/commit/5f12126d32dfa30f5f48d12724eeb29222942cb0
如果你不想更新 Vagrant,那么解决方法是在 Vagrantfile 中取消注释这个参数:
config.vm.box_check_update = false
当我尝试安装 laravel homestead 时遇到问题 我使用 git 终端,当我尝试这个
$ vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead
我收到这个错误
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'laravel/homestead' (v0) for provider:
box: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead
box:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Could not resolve host: (nil); Host not found
很可能你应该更新 Vagrant。您的问题应该通过此提交得到解决:https://github.com/mitchellh/vagrant/commit/5f12126d32dfa30f5f48d12724eeb29222942cb0
如果你不想更新 Vagrant,那么解决方法是在 Vagrantfile 中取消注释这个参数:
config.vm.box_check_update = false