Etcher: Missing bindings file when using windows build of etcher cli

Created on 25 Apr 2018  Â·  14Comments  Â·  Source: balena-io/etcher

  • Etcher version: etcher(cli) 1.4.3
  • Operating system and architecture: Win7 64bit
  • Image flashed: usbimage.img
  • Do you see any meaningful error information in the DevTools? error output in cli, see below

Starting and flashing with the gui version works, but using the cli in windows gives me this error as soon as i provide the image parameter.

Could not locate the bindings file. Tried:
→ C:\snapshot\etcher-cli-1.4.3-windows-x64-app\build\drivelist.node
→ C:\snapshot\etcher-cli-1.4.3-windows-x64-app\build\Debug\drivelist.node
→ C:\snapshot\etcher-cli-1.4.3-windows-x64-app\build\Release\drivelist.node
→ C:\snapshot\etcher-cli-1.4.3-windows-x64-app\out\Debug\drivelist.node
→ C:\snapshot\etcher-cli-1.4.3-windows-x64-app\Debug\drivelist.node
→ C:\snapshot\etcher-cli-1.4.3-windows-x64-app\out\Release\drivelist.node
→ C:\snapshot\etcher-cli-1.4.3-windows-x64-app\Release\drivelist.node
→ C:\snapshot\etcher-cli-1.4.3-windows-x64-app\build\default\drivelist.node
→ C:\snapshot\etcher-cli-1.4.3-windows-x64-app\compiled\6.10.3\win32x64\drivelist.node

cli windows bug

Most helpful comment

We're looking at it. It's probably due to a recent rework in the CI, it should be fairly trivial and @kelson42 good guess on the PR, thanks!

All 14 comments

According to a comment in #2279 this is also a problem with etcher-cli-1.4.4

Certainly still an issue.

Still not fixed?

@SuperJMN there hasn't been a release since, so no, that's still not fixed yet.

Hoping that the best way to use this amazing tool is that Etcher works well. For me, at the moment, the same problem occurs.
captura de tela 2018-07-22 23 43 29

The file is there node_modules/drivelist/build/Release/drivelist.node, but looks like not to be at the right place!

Offering 200 USD to anybody getting this problem fixed and ticket closed :)

It looks like this or something similar happened in issue #1706. Some problem with relative directories and the way the application is built.

@jviotti Suggests that you can install via npm.

@davidmdem Do we have somewhere a nightly build of the Windows CLI installer - or something similar - we could give a try?

We definitely face a regression here. The soft had a really similar error in the past, see #1706 and it has been fixed in v1.1.2... Might be helpful to fix that one (see PR https://github.com/resin-io/etcher/pull/1713)!

is someone looking at this issue ?

I confirm this bug persists with 1.4.5 release.

Still present in 1.4.8...

We're looking at it. It's probably due to a recent rework in the CI, it should be fairly trivial and @kelson42 good guess on the PR, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zamber picture zamber  Â·  5Comments

jwa5426 picture jwa5426  Â·  5Comments

codeinabox picture codeinabox  Â·  5Comments

robmcc1983 picture robmcc1983  Â·  5Comments

grash54 picture grash54  Â·  5Comments