Windows 指定了无效选项
在Windows 8上运行时,我正在尝试在笔记本电脑上安装。我已经下载并安装了vagrant和Virtualbox,目前正在尝试使用Windows 指定了无效选项,windows,command-line,vagrant,vagrant-windows,Windows,Command Line,Vagrant,Vagrant Windows,在Windows 8上运行时,我正在尝试在笔记本电脑上安装。我已经下载并安装了vagrant和Virtualbox,目前正在尝试使用 vagrant init tsawler/wafs; vagrant up --provider virtualbox 我得到了这个错误 C:\Users\patrick\Documents\website>vagrant init tsawler/wafs; vagrant up --provider virtualbox An invalid opti
vagrant init tsawler/wafs; vagrant up --provider virtualbox
我得到了这个错误
C:\Users\patrick\Documents\website>vagrant init tsawler/wafs; vagrant up --provider virtualbox
An invalid option was specified. The help for this command is available below.
Usage: vagrant init [options] [name [url]]
Options:
-f, --force Overwrite existing Vagrantfile
-m, --minimal Create minimal Vagrantfile (no help comment
s)
--output FILE Output path for the box. '-' for stdout
-h, --help Print this help
我尝试在init之后添加
-f
或-force
选项,但仍然得到相同的结果。是否缺少一个设置?有时,同一行上的多个命令可能无法正确解析,并且单独运行它们通常是有效的。试试这些
C:\Users\patrick\Documents\website>vagrant init tsawler/wafs C:\Users\patrick\Documents\website>vagrant up
以管理权限运行命令提示符。您可以单独尝试这些命令吗<代码>C:\Users\patrick\Documents\website>vagrant init tsawler/wafs C:\Users\patrick\Documents\website>vagrant up非常感谢vipinagg,这解决了我的问题,安装非常完美