重新导入 Homestead 出现问题,请问如何解决?

macdeMBP:lt-homestead-3-0-0-2017082400 mac$ vagrant box add metadata.json
==> box: Loading metadata for box 'metadata.json'
    box: URL: file:///Volumes/%E6%95%B0%E6%8D%AE%E7%9B%98/%E6%9C%AA%E5%91%BD%E5%90%8D%E6%96%87%E4%BB%B6%E5%A4%B9/lt-homestead-3-0-0-2017082400/metadata.json
==> box: Adding box 'laravel/homestead' (v3.0.0) for provider: virtualbox
The box you're attempting to add already exists. Remove it before
adding it again or add it with the `--force` flag.

Name: laravel/homestead
Provider: virtualbox
Version: 3.0.0
macdeMBP:lt-homestead-3-0-0-2017082400 mac$
《L04 微信小程序从零到发布》
从小程序个人账户申请开始,带你一步步进行开发一个微信小程序,直到提交微信控制台上线发布。
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
最佳答案

看错误提示,你已经添加过这个 box 了,两种方法解决:

  1. 删除之前的 box,再重新添加。
  2. 添加时加上 --force 参数强制覆盖之前的同名 box 。
6年前 评论
讨论数量: 2

看错误提示,你已经添加过这个 box 了,两种方法解决:

  1. 删除之前的 box,再重新添加。
  2. 添加时加上 --force 参数强制覆盖之前的同名 box 。
6年前 评论

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