It looks like you are running the command inside a Git Bash shell, but Vagrant thinks it is running in a Windows environment and wants to use the native cmd.exe as a shell. Some manipulation of your PATH or other environment variables *might* be able to make this combination work, but I've never tried that particular setup.
-- jmcg On Wed, Aug 24, 2022 at 10:19 AM Mayank <[email protected]> wrote: > Hi, > > Can anyone help me as I am getting this error while Vagrant commands. > > Vagrant failed to initialize at a very early stage: > > The executable 'cmd.exe' Vagrant is trying to run was not > found in the %PATH% variable. This is an error. Please verify > this software is installed and on the path. > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/hashicorp/vagrant/issues > Discuss: https://discuss.hashicorp.com/c/vagrant/24 > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/01c06aad-2754-40e3-bf47-baf28cd79c8cn%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/01c06aad-2754-40e3-bf47-baf28cd79c8cn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/hashicorp/vagrant/issues Discuss: https://discuss.hashicorp.com/c/vagrant/24 --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CACEPCkRTyfJ%2B5EsZjEmW68nk%3DmeRXw7pMA-OG4NPgd1229vh2Q%40mail.gmail.com.
