Mac下安装vagrant失败

来源:2-4 Vagrant&VirtualBox for Mac

黯淡_0001

2020-07-14

Mac 下安装vagrant之后运行“vagrant --help” 提示如下信息:

bogon:~ xuzhongjie$ vagrant
Vagrant failed to initialize at a very early stage:

The plugins failed to initialize correctly. This may be due to manual
modifications made within the Vagrant home directory. Vagrant can
attempt to automatically correct this issue by running:

vagrant plugin repair

If Vagrant was recently updated, this error may be due to incompatible
versions of dependencies. To fix this problem please remove and re-install
all plugins. Vagrant can attempt to do this automatically by running:

vagrant plugin expunge --reinstall

Or you may want to try updating the installed plugins to their latest
versions:

vagrant plugin update

Error message given during initialization: Unable to resolve dependency: user requested ‘vagrant-scp (= 0.5.7)’

写回答

1回答

麦兜搞IT

2020-07-16

您可以按照他说的试试。

第一个是vagrant plugin repair

然后如果您是最近更新过vagrant,那么试试vagrant plugin expunge --reinstall

或者vagrant plugin update

不知道您有没有仔细阅读这段错误信息。我自己没有遇到过这个问题,也只能是从错误信息里找答案,和尝试

0
0

系统学习Docker 践行DevOps理念

无论你是开发、测试还是运维,Docker都是你的必备技能。

3297 学习 · 1896 问题

查看课程