laravel - 不能一下子在 laravel 宅基地上流浪
问题描述
我一直在运行 laravel 并使用 vagrant 一段时间。我最近做了一个vagrant destroy
从全新安装重新加载的操作,现在我根本无法加载该框。我已经尝试从头开始卸载和重新安装 Virtualbox、vagrant 和 homestead(我正在使用 composer 来安装它以进行特定于项目的安装)。我确保在我的 Mac 上的安全设置中启用 Oracle。我完全不知所措,因为错误消息毫无用处,而且我在网上什么也没找到。
一切的版本:
- Mac OS 大苏尔:11.1
- 流浪者:2.2.14
- 盒子版本:laravel/homestead (virtualbox, 9.7.2)
- 虚拟盒子:6.1.16
运行结果vagrant up
❯ vagrant up
Bringing machine 'tools-ui' up with 'virtualbox' provider...
==> tools-ui: Importing base box 'laravel/homestead'...
==> tools-ui: Matching MAC address for NAT networking...
==> tools-ui: Checking if box 'laravel/homestead' version '9.7.2' is up to date...
==> tools-ui: Setting the name of the VM: tools-ui
==> tools-ui: Clearing any previously set network interfaces...
==> tools-ui: Preparing network interfaces based on configuration...
tools-ui: Adapter 1: nat
tools-ui: Adapter 2: hostonly
==> tools-ui: Forwarding ports...
tools-ui: 80 (guest) => 8000 (host) (adapter 1)
tools-ui: 443 (guest) => 44300 (host) (adapter 1)
tools-ui: 3306 (guest) => 33060 (host) (adapter 1)
tools-ui: 4040 (guest) => 4040 (host) (adapter 1)
tools-ui: 5432 (guest) => 54320 (host) (adapter 1)
tools-ui: 8025 (guest) => 8025 (host) (adapter 1)
tools-ui: 9600 (guest) => 9600 (host) (adapter 1)
tools-ui: 27017 (guest) => 27017 (host) (adapter 1)
tools-ui: 9200 (guest) => 9200 (host) (adapter 1)
tools-ui: 22 (guest) => 2222 (host) (adapter 1)
==> tools-ui: Running 'pre-boot' VM customizations...
==> tools-ui: Booting VM...
==> tools-ui: Waiting for machine to boot. This may take a few minutes...
tools-ui: SSH address: 127.0.0.1:2222
tools-ui: SSH username: vagrant
tools-ui: SSH auth method: private key
tools-ui: Warning: Connection reset. Retrying...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'aborted' state. Please verify everything is configured
properly and try again.
If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.
The primary issue for this error is that the provider you're using
is not properly configured. This is very rarely a Vagrant issue.
我查看了 VirtualBox 日志,但似乎没有任何用处……如果您需要,很乐意发布这些日志。
解决方案
原来,这是由我最近安装的 Intel Power Gadget ( https://software.intel.com/content/www/us/en/develop/articles/intel-power-gadget.html ) 引起的。卸载它并重新启动解决了问题。
推荐阅读
- python - 使用 eig 实现 SVD
- c++ - 如何使用 C++ 代码验证 CPU 缓存行大小?
- javascript - React:如何在浏览器上显示大部分文档
- asp.net-mvc - ASP.NET @Html.Action 的参数值被覆盖
- r - 为什么 ggplot2 不能很好地绘制 pois 分布?
- android - 无法在单个 dex 文件中容纳请求的类。尝试提供一个 main-dex 列表。# 方法:87928 > 65536
- angular - 如何在 gRPC Angular 应用程序中使用 typescript protobuf 生成的文件
- node.js - 错误:找不到模块“/app/build/index.js”
- java - 如何/在哪里可以通过示例代码和解释了解真实世界 Java Web 应用程序的结构
- ruby - 运行 jekyll 时出错:找不到符号:_ffi_type_double (LoadError)