question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Window fails to load and remains blank after upgrading Etcher

See original GitHub issue
  • Etcher version: Beta 18 (upgraded from 17)
  • Operating system and architecture: Windows 10 x64
  • Do you see any meaningful error information on DevTools? See below.

After clicking the final button in the Etcher installer with the “run Etcher” box checked, the application opened without any content other than some upper-right buttons and the bottom text.

image

I had closed the previous version of Etcher before starting the installer for the new one. The dev tools look like this:

image

The error text is:

Uncaught Error: Cannot find module 'etcher-image-stream'
C:\Program Files (x86)\Etcher\resources\app.asar\node_modules\angular\angular.js:4631 Uncaught Error: [$injector:modulerr] Failed to instantiate module Etcher due to:
Error: [$injector:nomod] Module 'Etcher' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.5.7/$injector/nomod?p0=Etcher
    at C:\Program Files (x86)\Etcher\resources\app.asar\node_modules\angular\angular.js:68:12
    at C:\Program Files (x86)\Etcher\resources\app.asar\node_modules\angular\angular.js:2075:17
    at ensure (C:\Program Files (x86)\Etcher\resources\app.asar\node_modules\angular\angular.js:1999:38)
    at module (C:\Program Files (x86)\Etcher\resources\app.asar\node_modules\angular\angular.js:2073:14)
    at C:\Program Files (x86)\Etcher\resources\app.asar\node_modules\angular\angular.js:4608:22
    at forEach (C:\Program Files (x86)\Etcher\resources\app.asar\node_modules\angular\angular.js:321:20)
    at loadModules (C:\Program Files (x86)\Etcher\resources\app.asar\node_modules\angular\angular.js:4592:5)
    at createInjector (C:\Program Files (x86)\Etcher\resources\app.asar\node_modules\angular\angular.js:4514:19)
    at doBootstrap (C:\Program Files (x86)\Etcher\resources\app.asar\node_modules\angular\angular.js:1751:20)
    at bootstrap (C:\Program Files (x86)\Etcher\resources\app.asar\node_modules\angular\angular.js:1772:12)
http://errors.angularjs.org/1.5.7/$injector/modulerr?p0=Etcher&p1=Error%3A%…r%5Cresources%5Capp.asar%5Cnode_modules%5Cangular%5Cangular.js%3A1772%3A12)

The window still fails to load if I close the app and open it again. It’s worth noting that I had opened the Etcher installation directory in File Explorer (for #1030) during the installation, but did not open any files or otherwise prompt it to try loading them. There were no errors that the installer reported.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jviotticommented, Jan 17, 2017

I’m closing this issue. Seems like an npm Windows glitch. I’ve released MinGW builds that work fine (at least here), and will be putting extra effort to finally move releases to the CI servers for the next one.

1reaction
jviotticommented, Jan 17, 2017

So the issue seems to be that npm insists on installing a platform specific development dependency for some reason, causing a certain package (etcher-image-stream) to be removed.

I’ve downgraded npm without luck, however discovered that the installation works fine if I call npm from MinGW instead of from cmd.exe, which makes no sense at all 😕

I’ll build from MinGW and release so we have everything up and running and will continue to investigate the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Etcher Opens to a Blank Screen - balena Forums
I ran in to the same issue and I think I found a workaround. It appears that the Etcher program does not like...
Read more >
Black Screen during install of 20H2 update
Black Screen during install of 20H2 update. EDIT 2: Tried booting to my Linux USB but I had to turn off UEFI and...
Read more >
Etcher waits for a thread. GUI not showing. Win10 · Issue #1866
When starting nothing is displayed, but it shows in running processes. When analyzing wait threads, it appears that etcher is waiting for a...
Read more >
STICKY: Is your Pi not booting? (The Boot Problems Sticky)
So in case of trouble try using the latest Raspbian from the download page, or try updating your older software on an earlier...
Read more >
Windows 10 Installation - A media driver your computer needs ...
Because some day Microsoft will not offer this update anymore. And may be I want to install the same Windows 10 on another...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found