Error when trying vagrant up

前端 未结 23 2186
隐瞒了意图╮
隐瞒了意图╮ 2020-11-30 17:34

I\'m using Vagrant for my environment and I\'ve got a little issue:

$vagrant up

Bringing machine \'default\' up with \'virtualbox\' provider...
==> defau         


        
相关标签:
23条回答
  • 2020-11-30 17:47

    There appears to be something wrong with the embedded curl program in Vagrant. Following the advice above I just renamed it (just in case I wanted it back) and vagrant up began to work as expected.

    On my mac:

    ♪ .vagrant.d sudo mv /opt/vagrant/embedded/bin/curl /opt/vagrant/embedded/bin/curlOLD Password:

    0 讨论(0)
  • 2020-11-30 17:48

    It looks like you may have created a Vagrant project with just vagrant init. That will create your Vagrantfile, but it won't have a box defined.

    Instead, you could try

    $ vagrant init hashicorp/precise32
    $ vagrant up

    which uses a standard Ubuntu image. The Vagrant website has a Getting Started which gives some good examples.

    0 讨论(0)
  • 2020-11-30 17:48

    This happened due to having a vagrant file without a defined box name. this happen when you running vagrant init with out a box name parameter.

    So you have to delete the Vagrant file then

    vagrant init box-title
    vagrant up
    

    I hope this could help!

    0 讨论(0)
  • 2020-11-30 17:48

    Follow the below syntax when creating the virtual box:

     $ vagrant box add {title} {url}
     $ vagrant init {title}
     $ vagrant up
    

    See http://www.vagrantbox.es/

    0 讨论(0)
  • 2020-11-30 17:49
    vagrant init laravel/homestead
    

    and then

    vagrant up
    

    Was what worked for me.

    0 讨论(0)
  • 2020-11-30 17:50

    I solved this problem by going to folder .vagrant.d/boxes/ under your home and changed name of the folder from laravel-VAGRANTSLASH-homestead to base. And it worked for me.

    Please check if virtualization is enabled in your BIOS.

    0 讨论(0)
提交回复
热议问题