一、vagrant up 报错
$ vagrant up
Bringing machine 'homestead-7' up with 'virtualbox' provider...
==> homestead-7: Checking if box 'laravel/homestead' is up to date...
==> homestead-7: A newer version of the box 'laravel/homestead' for provider 'virtualbox' is
==> homestead-7: available! You currently have version '6.0.0'. The latest is version
==> homestead-7: '6.1.0'. Run `vagrant box update` to update.
Your VM has become "inaccessible." Unfortunately, this is a critical error
with VirtualBox that Vagrant can not cleanly recover from. Please open VirtualBox
and clear out your inaccessible virtual machines or find a way to fix
them.
二、打开 VirtualBox

提示目录中的文件不存在,进入该目录,发现有个和提示的文件一样但是后缀为.vbox-tmp的文件,把该文件后缀修改为.vbox去掉-tmp即可。
网友评论