Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to find Vagrant

Tags:

vagrant

Trying to install Vagrant on Windows 7 X64 with installer from Vagrant - vagrant_1.7.0.msi

Installation goes fine, however unable to use vagrant. On any command, for example vagrant -v the below is shown: Failed to find Vagrant!

What I did:

  1. Googled. Only 1 link with such an error on github regarding to installer. Not sure if this is relevant.
  2. Checked that vagrant in PATH. Yes it is. Otherwise it would not start at all.
  3. Reinstalled, and repaired - few times.

All the above with no luck. Any idea where to dig?

Thank you.

like image 563
CAESAR Avatar asked Dec 10 '14 09:12

CAESAR


1 Answers

just to add my own version of this problem too:

  • i installed version 1.7.0
  • error message after a "vagrant up": "Failed to find Vagrant!"
  • checked paths, other environment variables in win7, should work..

so i uninstalled it and installed an older version (1.6.5)

and yes, the older version solved the problem. i got it from their official website: https://www.vagrantup.com/download-archive/v1.6.5.html

i guess the problem was in this file: https://github.com/mitchellh/vagrant-installers/blob/master/substrate/launcher/main.go

like image 142
Daniel H. Avatar answered Oct 26 '22 23:10

Daniel H.