Skip to content

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

Description

@mloskot

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions