ren*_*ell 20 virtualbox vagrant laravel-5 windows-10 homestead
我昨天刚使用powershell运行laravel宅基地.现在,它甚至都不会运行.我刚刚暂停了流浪汉并关闭了我的电脑.现在它只是给我这个错误:
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Clearing any previously set forwarded ports...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["modifyvm", "b21f2dd0-7f73-4d0f-b1e0-0f82ecdda1fe",
"--natpf1", "delete", "ssh", "--natpf1", "delete", "tcp33060",
"--natpf1", "delete", "tcp44300", "--natpf1", "delete", "tcp54320",
"--natpf1", "delete", "tcp8000"]
Stderr: VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified
error (extended info not available)
VBoxManage.exe: error: Context: "LockMachine(a->session,
LockType_Write)" at line 493 of file VBoxManageModifyVM.cpp
Run Code Online (Sandbox Code Playgroud)
ren*_*ell 14
好的,所以我终于解决了这个问题.试图重新启动我的笔记本电脑,它不再给我这个错误了.这是我做的:
来源:https://github.com/mitchellh/vagrant/issues/3852
Kay*_*ayV 10
对于 Mac OS,关闭所有正在运行的虚拟机并使用以下命令重新启动虚拟机:
sudo "/Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh" restart
Run Code Online (Sandbox Code Playgroud)
小智 5
C:\Users\Justice通过用户名替换正义。.vagrant.d文件夹。VirtualBoxVMs 文件夹并删除其中的所有内容。它应该工作正常。
| 归档时间: |
|
| 查看次数: |
31065 次 |
| 最近记录: |