Node-Virtualization / node-virtualbox

A JavaScript Library for Interacting with VirtualBox
MIT License
259 stars 68 forks source link

VBoxManage.exe not found on Windows 8.1 with VirtualBox 4.3.12 #12

Closed cedx closed 10 years ago

cedx commented 10 years ago

I'm using your "virtualbox" package (v0.1.0) on Windows 8.1 with Node.js 0.10.28 and VirtualBox 4.3.12r93733. A simple script as this one always fails:

var virtualbox=require('virtualbox');
virtualbox.list(function(machines, error) {
  if (error) throw error;
  console.dir(machines);
});

With this error message:

Error: Command failed: 'vboxmanage' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.

    at ChildProcess.exithandler (child_process.js:647:15)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:753:16)
    at Process.ChildProcess._handle.onexit (child_process.js:820:5)

The message is in French, but the issue is clear: "VBoxManage.exe" was not found.