Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command failed: vagrant status (or any other command) on Windows #17

Open
mloskot opened this issue Oct 18, 2019 · 3 comments
Open

Command failed: vagrant status (or any other command) on Windows #17

mloskot opened this issue Oct 18, 2019 · 3 comments

Comments

@mloskot
Copy link

mloskot commented Oct 18, 2019

I'm using the latest versions of

  • Vagrant 2.2.6
  • VSCode 1.39.2
  • Vagrant extension 0.5.0

on Windows 10.

I open folder with simplest Vagrantfile in VSCode:

Vagrant.configure("2") do |config|
  config.vm.box = "generic/ubuntu1710"
end

I run Vagrant: Status from the command palette and I'm getting this in the VSCode Log (Window):

[2019-10-18 12:47:12.579] [renderer1] [error] Command failed: vagrant --no-color status --machine-readable
: Error: Command failed: vagrant --no-color status --machine-readable

	at ChildProcess.exithandler (child_process.js:299:12)
	at ChildProcess.emit (events.js:182:13)
	at maybeClose (internal/child_process.js:962:16)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
[2019-10-18 12:50:15.055] [renderer1] [error] Command failed: vagrant --no-color status --machine-readable
: Error: Command failed: vagrant --no-color status --machine-readable

	at ChildProcess.exithandler (child_process.js:299:12)
	at ChildProcess.emit (events.js:182:13)
	at maybeClose (internal/child_process.js:962:16)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)

Running VSCode as Administrator makes no difference.

@bbenoist
Copy link
Owner

Looks like it's the same problem than #16 which has been opened just 2 hours ago.

Did you update something recently (vscode, windows or vagrant) ?

@mloskot
Copy link
Author

mloskot commented Oct 18, 2019

@bbenoist I searched through the existing issues...sorry, but I would have not linked that poorly titled/described issue in 1000 days :-)

Did you update something recently (vscode, windows or vagrant) ?

Bingo! I have upgraded vagrant from 2.2.4 to 2.26

@michaelsmoody
Copy link

Good evening,

I was wondering when/if anyone has figured out what is needed to make this work with a newer version of Vagrant, and why it may not be working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants