electron-api-demos icon indicating copy to clipboard operation
electron-api-demos copied to clipboard

Unable to run with electron 11

Open halton opened this issue 4 years ago • 4 comments

  • What operating system are you using? Linux Mint 19.30
  • What version of Node.js is on your system? V14.7.0
  • Steps:
  1. Bump electron version to latest stable version: package.json
  2. npm install && npm start
  • Expected result: App can start and show correctly.
  • Actual Result: App shows with the white screen.

halton avatar Jan 25 '21 09:01 halton

i think its because HTML import is removed in recent chrome engine.You can confirm it on console. if you want to run it you have to downgrade your electron version or replace all <link rel='import' href='something'> code and also change js code to import it.

whtjs avatar Feb 06 '21 03:02 whtjs

This is also an issue with electron 12. I'm also seeing

Uncaught ReferenceError: require is not defined at index.html:105

in the console.

alasdair-sli avatar May 14 '21 02:05 alasdair-sli

i have same problem when i run electron 15。 how to resolve it? image

tsflow avatar Sep 27 '21 09:09 tsflow

also here

Screen Shot 2022-02-07 at 15 59 11 Screen Shot 2022-02-07 at 15 59 46

ballonura avatar Feb 07 '22 13:02 ballonura