Laravel 配置宅地错误

Laravel 配置宅地错误,laravel,vagrant,phpstorm,homestead,Laravel,Vagrant,Phpstorm,Homestead,当我使用vagrant up命令时,我收到以下错误消息: Bringing machine 'name' up with 'parallels' provider... ==> name: Checking if box 'laravel/homestead' is up to date... ==> name: Clearing any previously set forwarded ports... ==> name: Preparing network interfac

当我使用
vagrant up
命令时,我收到以下错误消息:

Bringing machine 'name' up with 'parallels' provider...
==> name: Checking if box 'laravel/homestead' is up to date...
==> name: Clearing any previously set forwarded ports...
==> name: Preparing network interfaces based on configuration...
name: Adapter 0: shared
name: Adapter 1: hostonly
==> name: Clearing any previously set network interfaces...
==> name: Forwarding ports...
name: 80 => 8000
name: 443 => 44300
name: 3306 => 33060
name: 5432 => 54320
name: 8025 => 8025
name: 27017 => 27017
==> name: Running 'pre-boot' VM customizations...
==> name: Booting VM...
==> name: Waiting for machine to boot. This may take a few minutes...
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.

If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.

If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.

If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.
同时,虚拟机被创建,当我启动时,我到达登录页面

我在Mac上使用PhpStorm,并遵循本教程:


如何解决此问题?

启用GUI模式并跟踪进度。正如您所说的VM已启动并运行,您可以登录,您可能需要增加超时时间,因此有其他东西正在阻止ssh。如果您登录,您是否看到具有正确权限和授权密钥的
/home/vagrant/.ssh
文件夹谢谢您的回答,但是我如何为并行程序启用GUI?嗯,好的,您无法为vagrant启用GUI,但您可以访问parallel来监视进度否?我增加了超时时间,但问题仍然存在。每次开机时,我都会收到这样一条消息:“启动作业正在为raise网络接口运行”,在此之后,我会登录。但是它仍然对vagrant说了同样的错误。@suifer如果您在IDE之外运行所有这些命令(例如,
vagrant up
),它的行为是否相同?因为到目前为止我没有看到任何与PhpStorm相关的东西。。。