【问题标题】:vagrant up Does not start workvagrant up 不开始工作
【发布时间】: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 IO DEBUG subprocess: stdout: False

标签: git bash vagrant virtualbox


【解决方案1】:

在 vagrant v1.9.7 中存在错误,因此解决方案是安装 vagrant v1.9.6 或其他版本;

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-08-14
    • 2016-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-11-17
    • 1970-01-01
    相关资源
    最近更新 更多