2
respostas

Vagrant up

Quando executo o comando vagrant up no diretorio bionic, aparece a mensagem abaixo: "A Vagrant environment or target machine is required to run this command. Run vagrant init to create a new Vagrant environment. Or, get an ID of a target machine from vagrant global-status to run this command on. A final option is to change to a directory with a Vagrantfile and to try again." Obs.: Na pasta bionic, possui arquivo Vagrantfile.txt, com conteudo: "Vagrant.configure("2") do |config| config.vm.box = "ubuntu/bionic64" end"

Obrigada!

2 respostas

Ola Maiara, acredito que o arquivo Vagrantfile.txt deve ser alterado para "Vagrantfile".

Acho que vc precise alterar o Vagrantfile.txt para Vagrantfile como o Alexandre disse

E também rodar o comando vagrant init para o vagrant preparar o diretorio com a pasta .vagrant

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software