Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Unexpected error in pkg/prelude/bootstrap.js on Mac OS X #205

@atn832

Description

@atn832

I used Etcher-cli (packaged with pkg) to erase and install an OS on an SD card. When it is about to erase the SD card, the program crashes with the following stack trace:

events.js:160
throw er; // Unhandled 'error' event
^

Error: UNEXPECTED-15
at readFromSnapshot (pkg/prelude/bootstrap.js:493:16)
at Object.fs.read (pkg/prelude/bootstrap.js:510:5)
at ReadStream._read (fs.js:1998:6)
at ReadStream.Readable.read (_stream_readable.js:348:10)
at fs.js:1963:10
at zalgoSafe (pkg/prelude/bootstrap.js:207:10)
at pkg/prelude/bootstrap.js:424:9
at FSReqWrap.oncomplete (fs.js:123:15)

The build I used is https://github.com/resin-io/etcher/releases/download/v1.1.2/Etcher-cli-1.1.2-darwin-x64.tar.gz, on Mac OS Sierra 10.12.6.

I initially posted the issue on Etcher's github, and they redirected me to pkg (balena-io/etcher#1697).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions