【发布时间】:2018-01-03 08:01:28
【问题描述】:
我下载了 virtual box 和 vagrant(但更改了默认路径,也许这是问题所在),以及带有来自 enter link description here 的设置的文件夹,所有内容,如 O'relly“学习 Web 应用程序开发”中所述,当我使用在 git-bash 中流浪,很长一段时间都没有发生任何事情。有什么问题?控制台:enter image description here
【问题讨论】:
-
显示什么消息?也许您还可以向我们保证
which vagrant指向您的 vagrant 安装。 -
它的问题github.com/mitchellh/vagrant/issues/8764 - 现在只使用普通的cmd
-
在 windows cmd 中作为 git-bash 工作,没有任何反应,没有消息显示,只是在 'vagrant up' 之后清理
-
我用过
$ set VAGRANT_LOG=info$ vagrant up --debug -
这显示消息:` INFO 子进程:启动进程:["C:\\Windows\\System32\\WindowsPowerShell\\v1.0/powershell.EXE", "-NoLogo", " -NoProfile”、“-NonInteractive”、“-ExecutionPolicy”、“绕过”、“-Command”、“(new-object System.Security.Principal.WindowsPrincipal([System.Security.Principal.WindowsIdentity]::GetCurrent( ))).IsInRole([System.Security.Principal.WindowsBuiltInRole]::Administrat or)"]`
INFO subprocess: Command not in installer, restoring original environment...DEBUG subprocess: Selecting on IODEBUG subprocess: stdout: False
标签: git bash vagrant virtualbox