homestead 安装问题

下载好virtual box以及 vagrant 后,在执行 vagrant box add laravel/homestead 时报错.
本地环境 :
1 win10家庭版
2 vagrant最新版
3 virtual box 5.2跟6都试过了
4 安装的有cgywin64
5 使用的有代理,端口为7890 ,但是关闭代理后还是一样报错.

报错如下:

C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.6.0/uri/rfc3986_parser.rb:67:in `split': bad URI(is not URI?): "127.0.0.1:7890" (URI::InvalidURIError)
        from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.6.0/uri/rfc3986_parser.rb:73:in `parse'
        from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.6.0/uri/common.rb:234:in `parse'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/excon-0.78.0/lib/excon/connection.rb:560:in `setup_proxy'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/excon-0.78.0/lib/excon/connection.rb:80:in `initialize'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/excon-0.78.0/lib/excon.rb:142:in `new'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/excon-0.78.0/lib/excon.rb:142:in `new'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant_cloud-3.0.2/lib/vagrant_cloud/client.rb:61:in `initialize'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/commands/cloud/client/client.rb:35:in `new'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/commands/cloud/client/client.rb:35:in `initialize'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/commands/cloud/auth/middleware/add_authentication.rb:34:in `new'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/commands/cloud/auth/middleware/add_authentication.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builder.rb:149:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in `block in run'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/busy.rb:19:in `busy'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in `run'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/environment.rb:525:in `hook'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/box_add.rb:82:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builtin/box_add.rb:82:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:48:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/builder.rb:149:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in `block in run'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/util/busy.rb:19:in `busy'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/runner.rb:89:in `run'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/commands/box/command/add.rb:78:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/plugins/commands/box/command/root.rb:66:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/cli.rb:67:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/environment.rb:290:in `cli'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/bin/vagrant:205:in `<main>'
caoayu
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
最佳答案

解决了,原来是环境变量里设置了一个 http_proxy.删除了就可以了 :joy:

3年前 评论
讨论数量: 8
陈先生

关了梯汁 重启cmd 重新启动

3年前 评论

淘宝十块钱 买一个专业版的激活码就好了

3年前 评论

@caoayu 有一些功能家庭版没有

3年前 评论

解决了,原来是环境变量里设置了一个 http_proxy.删除了就可以了 :joy:

3年前 评论

@xiaochen52113 都试了还是不行. :joy: 还是用linux自己搭吧.谢谢解答

3年前 评论

@pi_phq 确实,环境比较多.自带的家庭版也用不了docker,想装专业版有不想重新装软件跟弄环境变量 :joy:

3年前 评论

@bhlsunshine 激活不是问题,数据跟配置才是

3年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!