【问题标题】:laravel homestead on windows 10Windows 10 上的 laravel 宅基地
【发布时间】:2016-03-07 23:40:41
【问题描述】:

当我尝试安装 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

【问题讨论】:

标签: php laravel laravel-5 windows-10 homestead


【解决方案1】:

很可能你应该只更新 Vagrant。您的问题应通过此提交解决:https://github.com/mitchellh/vagrant/commit/5f12126d32dfa30f5f48d12724eeb29222942cb0


如果你不想更新 Vagrant,那么解决方法是在 Vagrantfile 中取消注释这个参数:

config.vm.box_check_update = false

【讨论】:

    猜你喜欢
    • 2016-04-17
    • 2021-06-30
    • 1970-01-01
    • 1970-01-01
    • 2017-04-24
    • 2019-06-15
    • 2015-12-09
    • 2015-02-28
    • 1970-01-01
    相关资源
    最近更新 更多