Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Laravel 安装版本:不适用_Laravel_Powershell_Vagrant_Homestead - Fatal编程技术网

Laravel 安装版本:不适用

Laravel 安装版本:不适用,laravel,powershell,vagrant,homestead,Laravel,Powershell,Vagrant,Homestead,使用powershell帮助解决问题 我使用gitbash作为控制台。VT-x已启用。Hyper-v已禁用。 问题 The version of powershell currently installed on this host is less than the required minimum version. Please upgrade the installed version of powershell to the minimum required version and run

使用powershell帮助解决问题

我使用gitbash作为控制台。VT-x已启用。Hyper-v已禁用。 问题

The version of powershell currently installed on this host is less than
the required minimum version. Please upgrade the installed version of
powershell to the minimum required version and run the command again.

  Installed version: N/A
  Minimum required version: 3
已安装powershell 6。 错误通常发生在输入时

vagrant ssh

有趣的是,通过重新输入vagrant upvagrant ssh解决了问题

有什么问题


p、 很抱歉英语不好:)

西奥的评论为我们解决了这个问题

powershell -Command 'vagrant up'

执行
vagrant ssh
next可以像预期的那样工作,而且速度更快。

这似乎是vagrant的一个bug。显然,如果您执行powershell命令“vagrant up”,那么您就可以像往常一样使用
vagrant ssh
。西奥,谢谢,到目前为止它工作得很好。命令现在执行速度更快:)
powershell -Command 'vagrant up'