Skip to content

Instantly share code, notes, and snippets.

@aredridel
Created May 19, 2013 01:03
Show Gist options
  • Save aredridel/5606271 to your computer and use it in GitHub Desktop.
Save aredridel/5606271 to your computer and use it in GitHub Desktop.
/usr/img/lib/imgadm.js:1124
for (var j = 0; j < imageSet.length; j++) {
^
TypeError: Cannot read property 'length' of undefined
at done (/usr/img/lib/imgadm.js:1124:45)
at async.forEach (/usr/img/node_modules/async/lib/async.js:88:21)
at IMGADM.sourcesList.async.forEach.err (/usr/img/lib/imgadm.js:1102:21)
at IMGADM.clientFromSource (/usr/img/lib/imgadm.js:744:13)
at Source.getResolvedUrl (/usr/img/lib/imgadm.js:361:13)
at /usr/img/lib/imgadm.js:98:13
at asyncCallback (dns.js:68:16)
at Object.onanswer [as oncomplete] (dns.js:124:7)
@aredridel
Copy link
Author

This is what happens when either you don't imgadm update or you have something completely bogus in your installed images list. I'm not sure which.

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