2017-09-15 2 views
0

mes versions:la non-concordance de version Vagrant

VBoxManage --version 
5.1.28r117968 

vagrant -v 
Vagrant 2.0.0 

quand je lance errante up je reçois une sortie comme quand je lance errante up je reçois une sortie comme

Vagrant failed to initialize at a very early stage: 

The plugins failed to load properly. The error message given is 
shown below. 

This Vagrant environment has specified that it requires the Vagrant 
version to satisfy the following version requirements: 

~> 1.5 

You are running Vagrant 2.0.0, which does not satisfy 
these requirements. Please change your Vagrant version or update 
the Vagrantfile to allow this Vagrant version. However, be warned 
that if the Vagrantfile has specified another version, it probably has 
good reason to do so, and changing that may cause the environment to 
not function properly. 

que suis-je besoin?

+0

peut vous lancer 'plugin errante list' –

+0

' errante-berkshelf (5.1.1) - Version Contrainte:> = 2.0.1 | vagabondage (1.1.9, système) - Contrainte de version:> 0 | vagrant-vbguest (0.14.2) - Contrainte de version:> 0 | vagrant-vmware-workstation (4.0.24) - Contrainte de version:> 0' – mak

Répondre

0

Et le coupable est Vagrant-bershelf a une forte dépendance sur la branche 1.x de errante que vous pouvez vérifier à partir de cette line of code

module Berkshelf 
    class Plugin < Vagrant.plugin("2") 
    # Require a particular version of Vagrant 
    Vagrant.require_version("~> 1.5") 

    name "berkshelf" 

Vous avez la solution suivante:

  • Si vous n'avez pas besoin du plugin, il suffit de le désinstaller
  • Vous devrez demander au propriétaire du plugin de passer à la version 2.x maintenant (ou fournir une demande de tirage au pr ojet la mise à niveau)
  • Revenir à la version 1,9x errante