0
respostas

negative string size (or size too big) (ArgumentError)

Toda vez que da um comando no vagrant, como vagrant up, status etc. ele cria a pasta:

C:\Users\jrdsi.vagrant.d

Após, quando repete o comando mesmo da o erro:

Para corrigir tenho que apagar a pasta .vagrant.d ai ele volta a executar, mas toda vez que volta a pasta ele da erro abaixo. consegue me ajudar?

d:\vagrant\ambiente_dev>vagrant status
C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.6.0/json/common.rb:156:in `initialize': negative string size (or size too big) (ArgumentError)
        from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.6.0/json/common.rb:156:in `new'
        from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.6.0/json/common.rb:156:in `parse'
        from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.6.0/json/common.rb:335:in `load'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/lib/vagrant/machine_index.rb:320:in `unlocked_reload'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/lib/vagrant/machine_index.rb:122:in `block (2 levels) in get'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/lib/vagrant/machine_index.rb:350:in `block in with_index_lock'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/lib/vagrant/machine_index.rb:348:in `open'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/lib/vagrant/machine_index.rb:348:in `with_index_lock'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/lib/vagrant/machine_index.rb:120:in `block in get'
        from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/lib/vagrant/machine_index.rb:119:in `get'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/lib/vagrant/machine.rb:553:in `block in state'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/lib/vagrant/machine.rb:552:in `synchronize'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/lib/vagrant/machine.rb:552:in `state'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/lib/vagrant/plugin/v2/command.rb:233:in `block in with_target_vms'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/lib/vagrant/plugin/v2/command.rb:232:in `each'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/lib/vagrant/plugin/v2/command.rb:232:in `with_target_vms'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/plugins/commands/status/command.rb:20:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/lib/vagrant/cli.rb:67:in `execute'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/lib/vagrant/environment.rb:290:in `cli'
        from C:/HashiCorp/Vagrant/embedded/gems/2.2.16/gems/vagrant-2.2.16/bin/vagrant:231:in `<main>'