Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Etcher 1.4.4 CLI on old Mac -> “TypeError: Cannot read property ‘find’ of undefined” #2363

Open
Shou opened this issue May 22, 2018 · 0 comments

Comments

@Shou
Copy link
Contributor

Shou commented May 22, 2018

From forums/3180:

Trying to use Etcher CLI on an old mac to install Ubuntu because the Etcher GUI is not supported on my version of OS X (10.6.8). Any ideas how to resolve?

$ sudo etcher -d /dev/disk2s1 ~/Downloads/ubuntu-18.04-desktop-amd64.iso
? This will erase the selected drive. Are you sure? Yes
/snapshot/etcher-cli-1.4.4-darwin-x64-app/node_modules/drivelist/lib/diskutil.js:129
const layout = list.AllDisksAndPartitions.find((disk) => {
^

TypeError: Cannot read property ‘find’ of undefined
at devices.forEach (/snapshot/etcher-cli-1.4.4-darwin-x64-app/node_modules/drivelist/lib/diskutil.js:129:46)
at Array.forEach (native)
at setMountpoints (/snapshot/etcher-cli-1.4.4-darwin-x64-app/node_modules/drivelist/lib/diskutil.js:128:11)
at asyncMap (/snapshot/etcher-cli-1.4.4-darwin-x64-app/node_modules/drivelist/lib/diskutil.js:169:7)
at next (/snapshot/etcher-cli-1.4.4-darwin-x64-app/node_modules/drivelist/lib/diskutil.js:79:7)
at ChildProcess.childProcess.spawn.on.on.e (/snapshot/etcher-cli-1.4.4-darwin-x64-app/node_modules/drivelist/lib/diskutil.js:51:7)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants