RSS

  • YouTube
  • LinkedIn
  • Google

Vagrant init error [Box]

Updated the version of Vagrant em meu computador com Windows 7, and I came across the following error:

C:\Users\Marcos Regis\Projetos\XXXX>;vagrant init
Vagrant failed to initialize at a very early stage:

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

undefined method '[]; is nil:NilClass

To correct this error in a simple, Navigate to the root directory of your server in my case was

C:\UsersMarcos Regis

Enter the directory .vagrant.d delete/rename the file plugins. json.

TIP: If you use the cmd to start the vagrant, simply enter the commands below

CD% HOMEPATH%/.vagrant.d
Rename plugins. json plugins.json.bak

The error has to do with the plugin vbguest with the new version.

Done that the Vagrant should already work normally.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.