Skip to content

Cannot read property ‘software’ of undefined #348

Description

@kokoshneta

I’m trying to get IEVMS installed on my Mac (macOS 10.14.6, VirtualBox 6.1.2). I’ve installed the VMBox Extension Pack as described in this thread to get around not being able to accept licence terms.

Now when I run curl -s https://raw.githubusercontent.com/amichaelparker/ievms/master/ievms-node.sh | env IEVMS_VERSIONS="11" bash (using @amichaelparker’s fork, I get the following:

Checking for VirtualBox
Checking for Oracle VM VirtualBox Extension Pack
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Building IE 11 VM
Checking for existing OVA at /Users/janus/.ievms/IE11 - Win81.ova
[eval]:1
JSON.parse(process.argv[1])[4].software[0].files[1].url
			       ^

TypeError: Cannot read property 'software' of undefined
	at [eval]:1:31
	at Script.runInThisContext (vm.js:126:20)
	at Object.runInThisContext (vm.js:316:38)
	at Object.<anonymous> ([eval]-wrapper:9:26)
	at Module._compile (internal/modules/cjs/loader.js:936:30)
	at evalScript (internal/process/execution.js:80:25)
	at internal/main/eval_string.js:23:3

I couldn’t find any previous issues here that deal with this, and I have no idea what the expected output of JSON.parse(process.argv[1]) is supposed to be, nor what key [4] in it is supposed to contain.

Any ideas what might be causing this and more importantly how to fix it?

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