Bri*_*ian 22 macos vagrant laravel homestead
我在mac OSX 10.12.1上安装了最新的vagrant.
当我试图跑vagrant box add laravel/homestead
无济于事.然后我得到:
$ vagrant box add laravel/homestead
The box 'laravel/homestead' could not be found or could not be accessed in the remote catalog. If this is a private box on HashiCorp's Atlas, please verify you're logged in via "vagrant login". Also, please double-check the name.
Run Code Online (Sandbox Code Playgroud)
扩展的URL和错误消息如下所示:
URL: ["https://atlas.hashicorp.com/laravel/homestead"]
Error:
Run Code Online (Sandbox Code Playgroud)
请注意,没有列出错误,也没有提到SSL问题.
所以我试着跑步vagrant box add laravel/homestead
.这是我得到的回应的摘录:
$ vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.5.0/providers/virtualbox.box --debug
==> box: Adding box 'laravel/homestead' (v0) for provider:
INFO box_add: Downloading box: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.5.0/providers/virtualbox.box => /Users/brianduggan/.vagrant.d/tmp/boxb899043803582d901582866cb677bf359bdd3a61
INFO interface: detail: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.5.0/providers/virtualbox.box
INFO interface: detail: box: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.5.0/providers/virtualbox.box
box: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.5.0/providers/virtualbox.box
INFO downloader: Downloader starting download:
INFO downloader: -- Source: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.5.0/providers/virtualbox.box
INFO downloader: -- Destination: /Users/brianduggan/.vagrant.d/tmp/boxb899043803582d901582866cb677bf359bdd3a61
INFO subprocess: Starting process: ["/opt/vagrant/embedded/bin/curl", "-q", "--fail", "--location", "--max-redirs", "10", "--user-agent", "Vagrant/1.8.7 (+https://www.vagrantup.com; ruby2.2.5)", "--continue-at", "-", "--output", "/Users/brianduggan/.vagrant.d/tmp/boxb899043803582d901582866cb677bf359bdd3a61", "https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.5.0/providers/virtualbox.box"]
INFO subprocess: Command in the installer. Specifying DYLD_LIBRARY_PATH...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stderr: dyld: Library not loaded: @rpath/libcurl.4.dylib
Referenced from: /opt/vagrant/embedded/bin/curl
Reason: Incompatible library version: curl requires version 9.0.0 or later, but libcurl.4.dylib provides version 7.0.0
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 6
WARN downloader: Downloader exit code: 6
ERROR downloader: Exit code: 6
Run Code Online (Sandbox Code Playgroud)
该过程然后继续运行恢复过程,其中它最终在'执行卷曲'中的流浪者下载器ruby文件行206中再次出错.
我看到的大多数问题都与Windows和更新cURL有关,但是从我读过的内容来看,在mac上乱搞cURL并不是一个好主意,因为其他进程可能正在寻找预先打包的版本.有任何想法吗?
小智 51
我找到了答案; https://github.com/mitchellh/vagrant/issues/7969和https://github.com/mitchellh/vagrant/issues/7970.
我只是
sudo rm -rf /opt/vagrant/embedded/bin/curl
现在有效.它看起来像流浪汉可以回归到系统的卷曲.
这对我有用.
归档时间: |
|
查看次数: |
3088 次 |
最近记录: |