Vagrant up- Vagrant failed to initialize at a very early stage

1,305 views
Skip to first unread message

Mayank

unread,
Aug 24, 2022, 10:19:23 AM8/24/22
to Vagrant
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.
Vagrant error.JPG

Jim McGinness

unread,
Aug 24, 2022, 4:45:05 PM8/24/22
to vagra...@googlegroups.com
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

--
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 vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/01c06aad-2754-40e3-bf47-baf28cd79c8cn%40googlegroups.com.

Mayank Pundhir

unread,
Aug 31, 2022, 2:37:29 AM8/31/22
to vagra...@googlegroups.com
Thank you, Issue resolved after powershell path setup.
---
Thanks and Regards
Mayank Kumar Pundhir


You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/HvXR9WtG1s0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CACEPCkRTyfJ%2B5EsZjEmW68nk%3DmeRXw7pMA-OG4NPgd1229vh2Q%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages