Vagrant up on windows 8 出现 puphpet 错误
Vagrant up on windows 8 with puphpet error
我在 windows 8 上遇到这个错误,安装了最新版本的 vagrant 1.7.4 和 virtualbox 5.0.10:
D:\myproject>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'base' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'base' (v0) for provider: virtualbox
default: Downloading: base
default:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Couldn't open file /myproject/base
路径似乎无效,这是 windows 但路径似乎是 linux 系统。
如果我这样做也会发生同样的事情
vagrant init
vagrant up
在新文件夹中。
这次下载盒子成功了:
vagrant box add puphpet/ubuntu1404-x64
你必须修改 vagrantfile.You 必须创建你自己的名字而不是基础包或者你应该 运行 它首先是 vagrant init {boxname}
我在 windows 8 上遇到这个错误,安装了最新版本的 vagrant 1.7.4 和 virtualbox 5.0.10:
D:\myproject>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'base' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'base' (v0) for provider: virtualbox
default: Downloading: base
default:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Couldn't open file /myproject/base
路径似乎无效,这是 windows 但路径似乎是 linux 系统。
如果我这样做也会发生同样的事情
vagrant init
vagrant up
在新文件夹中。
这次下载盒子成功了:
vagrant box add puphpet/ubuntu1404-x64
你必须修改 vagrantfile.You 必须创建你自己的名字而不是基础包或者你应该 运行 它首先是 vagrant init {boxname}