流浪汉向上抛出错误



大家好,我正在尝试运行命令vagrant,但它给了我一个错误。它前天还在工作,从昨天开始它就一直给我这个错误

The directory where plugins are installed (the Vagrant home directory)
has a space in it. On Windows, there is a bug in Ruby when compiling
plugins into directories with spaces. Please move your Vagrant home
directory to a path without spaces and try again.

我用谷歌搜索了一下得到的结果是目录中可能有空格答案是对的PATH变量中的某些路径中确实有空格但我想知道的第一个问题是

为什么它在前天一直在运行

第二个问题是

我必须更正哪个路径,因为我个人从来没有安装过我得到的系统配置。以下是我的path变量中的路径:

C:ProgramDataOracleJavajavapath;
C:Windowssystem32;C:Windows;
C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;
C:Program FilesGitcmd;
C:Program Files (x86)Amppsphp;
C:ProgramDataComposerSetupbin;
C:Program Files (x86)SkypePhone;
D:Amppsmysqlbin;D:Amppsphp;
C:HashiCorpVagrantbin;
C:Program Files (x86)nodejs;
C:UsersTBox SolutionsAppDataLocalatombin;
C:UsersTBox SolutionsAppDataRoamingComposervendorbin;
C:UsersTBox SolutionsAppDataLocal.meteor;
C:adt-bundle-windows-x86_64-20140702sdkplatform-tools;
C:adt-bundle-windows-x86_64-20140702sdktools;
C:Program FilesJavajdk1.8.0_77bin;
C:UsersTBox SolutionsAppDataLocalSpoonCmd;
C:UsersTBox SolutionsAppDataRoamingnpm

消息显示:

The directory where plugins are installed (the Vagrant home directory)
has a space in it. On Windows, there is a bug in Ruby when compiling
plugins into directories with spaces. Please move your Vagrant home
directory to a path without spaces and try again.

必须修改用户名,不能有空格。例如TBox_Solutions.

创建一个新用户进行测试

相关内容

  • 没有找到相关文章

最新更新