我在窗户上安装laravel时遇到了麻烦。 在git bash中输入以下命令时
$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 Vagrant Cloud, please verify you're logged in via vagrant login. Also, please double-check the name. The expanded URL and error message are shown below:
URL: ["https://vagrantcloud.com/laravel/homestead"]
Error: Could not resolve host: (nil); Host not found
请帮忙。如何解决?
答案 0 :(得分:1)
在调查中我发现curl位于C:\ HashiCorp \ Vagrant \ embedded \ bin抱怨
程序无法启动,因为计算机缺少MSVCP100.dll。
dll是由MS Visual C++ 2010 x86 Redistributables我在旧安装中为另一个程序提供的。安装它会使流浪工作。
答案 1 :(得分:0)
您是否在VagnantCloud服务中创建了帐户?! 你是否通过第一个vagrant share命令从控制台登录此服务?!
干得好!