Vagrant up 时提示 A VirtualBox machine with the name 'Homestead-7' already exists.

$ vagrant up
Bringing machine 'homestead-7' up with 'virtualbox' provider...
==> homestead-7: Importing base box 'lc/homestead'...
==> homestead-7: Matching MAC address for NAT networking...
==> homestead-7: Checking if box 'lc/homestead' is up to date...
A VirtualBox machine with the name 'homestead-7' already exists.
Please use another name or delete the machine with the existing
name, and try again.
怎么删除之前的 homestead-7

《L05 电商实战》
从零开发一个电商项目,功能包括电商后台、商品 & SKU 管理、购物车、订单管理、支付宝支付、微信支付、订单退款流程、优惠券等
《L04 微信小程序从零到发布》
从小程序个人账户申请开始,带你一步步进行开发一个微信小程序,直到提交微信控制台上线发布。
492129825
最佳答案

@kingsun 在这里面删掉了

file

5年前 评论
讨论数量: 3

在根目录搜一下homestead-7,删掉

5年前 评论
492129825

@kingsun 在这里面删掉了

file

5年前 评论

谢谢!今天也遇到了类似问题。 原因是我先修改了Homestead.yaml,然后, vagrant provision && vagrant reload 就卡住了。 然后, vagrant halt vagrant up 最后,终于报错了。 后来,我删除VM管理器中所有的, 又删掉 /Users/mac/VirtualBox VMs/ 目录下的。 再运行。 就好了。 file 主要命令如上图。 记录在此,供有需要的朋友参考。

4年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!