laravel / homestead

MIT License
3.87k stars 1.44k forks source link

vagrant box add laravel/homestead not working #718

Closed sandeshchaudhari closed 7 years ago

sandeshchaudhari commented 7 years ago

First time i'm installing homestead on my windows 10 machine but when i run vagrant box add laravel/homestead command in gitbash it gives me segmentation fault error.I'm using vagrant 2.0.1 version .

screenshot 24

svpernova09 commented 7 years ago

I haven't tested 2.0.1 yet, but looks like Vagrant might have broken something on Windows. Try downgrading to 2.0

svpernova09 commented 7 years ago

Tested this on my Windows 10 Machine and worked fine:


C:\Users\halo
λ vagrant -v
Vagrant 2.0.1

C:\Users\halo
λ vagrant box add laravel/homestead --provider=virtualbox
Vagrant failed to initialize at a very early stage:

The plugins failed to initialize correctly. This may be due to manual
modifications made within the Vagrant home directory. Vagrant can
attempt to automatically correct this issue by running:

  vagrant plugin repair

If Vagrant was recently updated, this error may be due to incompatible
versions of dependencies. To fix this problem please remove and re-install
all plugins. Vagrant can attempt to do this automatically by running:

  vagrant plugin expunge --reinstall

Or you may want to try updating the installed plugins to their latest
versions:

  vagrant plugin update

Error message given during initialization: Unable to resolve dependency: user requested 'vagrant-reload (> 0)'

C:\Users\halo
λ vagrant plugin update
Updating installed plugins...
Fetching: vagrant-reload-0.0.1.gem (100%)
Fetching: vagrant-share-1.1.9.gem (100%)
Updated 'vagrant-share' to version '1.1.9'!

C:\Users\halo
λ vagrant box add laravel/homestead --provider=virtualbox
==> box: Loading metadata for box 'laravel/homestead'
    box: URL: https://vagrantcloud.com/laravel/homestead
==> box: Adding box 'laravel/homestead' (v4.0.0) for provider: virtualbox
    box: Downloading: https://vagrantcloud.com/laravel/boxes/homestead/versions/4.0.0/providers/virtualbox.box
    box: Progress: 100% (Rate: 5654k/s, Estimated time remaining: --:--:--)
==> box: Successfully added box 'laravel/homestead' (v4.0.0) for 'virtualbox'!

C:\Users\halo
λ
alfredlaggner commented 6 years ago

I had this error when my project was in onedrive or google drive. I moved them out and it works again