无法在Windows10上使用Vagrant安装Laravelhomestead
我刚刚下载了最新版本的 Vagrant 2.2.15 和 VMware。我试着跑
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 Vagrant Cloud, please verify you're logged in via
vagrant login. 另外,请仔细检查名称。展开后的 URL 和错误消息如下所示:
URL: ["https://vagrantcloud.com/laravel/homestead"]
Error: schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
检查https://app.vagrantup.com/laravel/boxes/homestead 后,我运行
vagrant init laravel/homestead
然后尝试运行
vagrant up
但是我从来没有让它工作并不断收到相同的错误消息。我找到了这个解决方案https://github.com/hashicorp/vagrant/issues/6764并安装MS Visual C++ 2010 x86 Redistributables 但无法运行vagrant up或什至不知道如何在上次更新后安装宅基地。我曾经多次以相同的方式安装它而没有问题,但今天我不能
我试过
vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead
但我得到
There was an error while downloading the metadata for this box.
The error message is shown below:
schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
我在这里检查了温度,.vagrant.dtmp但它是空的。在 Windows 10 上安装和运行 laravel homestead 有什么帮助吗?
回答
禁用防病毒软件(在我的例子中是卡巴斯基)为我解决了这个问题。
- strange, but this was my problem too and it worked for me too (disbling Kaspersky for 5 min till the command 'vagrant up' was initiated)
THE END
二维码