Node-Virtualization/node-virtualbox

vmImport is not a function error

derac opened this issue · 2 comments

derac commented
> const virtualbox = require("virtualbox");
[2021-08-25 19:10:14.850] [INFO] VirtualBox - win32
undefined
> [2021-08-25 19:10:14.875] [INFO] VirtualBox - Virtualbox version detected as 6
>   virtualbox.vmImport(
...     "F:\\downloads\\ubuntu_server_template.ova",
...     { vmname: "lol", cpus: 1, memory: 1024 },
...     (err) => {console.log(err)})
Uncaught TypeError: virtualbox.vmImport is not a function

I'm trying to figure out what's going on here, but maybe you can help. Not sure why it isn't finding this in the namespace.

derac commented

nm, not implemented in 1.1.1 - derp

I'll see if I can get some updates together for a version publish.