Electron v1.6.x compatibility
See original GitHub issueI’m on MacOS
Master ~is currently~ was broken because of electron upgrade in this commit
HTR:
- Checkout master and resintall dependencies (
rm -Rf node_modules && yarn
) - Launch Hyper (
npm run dev
andnpm run app
) - Open DevTools
- Hit
ctrl
key
An exception occurs:
It sounds crazy because code (and const cache
declaration) is ok. I have checked with electron v1.4.16 and everything is allright!
I studied this issue in depth and I found a closure problem with isAccelerator
function.
With v1.4.16:
But with 1.6.6 a closure (with cache variable) is missing:
I don’t know yet if it is a V8 issue (I strongly doubt that).
But I found an Electron related issue: webpack use some eval
If this issue is confirmed, due to its nature, we can suppose there is another issues with this same scope cause. I would recommend to stick to stable release channel of electron (v1.4.16).
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Complete and up-to-date info about every release of Electron
Tag Published Prerelease Module Version Node Chrome
v24.0.0‑nightly.20221216 2022‑12‑16 yes 114 18.12.1 110.0.5451.0
v24.0.0‑nightly.20221215 2022‑12‑15 yes 114 18.12.1 110.0.5451.0
v24.0.0‑nightly.20221214 2022‑12‑14 yes 114 18.12.1 110.0.5451.0
Read more >electron-releases - npm
Complete and up-to-date info about every release of Electron. Latest version: 3.1171.0, last published: 2 months ago.
Read more >Electron release notes
Sunsetting Windows 7/8/8.1 Electron will be ending support for Windows 7/8/8.1 after version 22. x.y following Chromium's plan to end support. Older versions ......
Read more >Electron (software framework) - Wikipedia
Electron frequently releases new major versions along every other Chromium release. The latest three stable version are support by the Electron team.
Read more >Electron-edge-js NPM
Compatible with. Electron 6.x - Node.js v12.4.0. ... Electron 14.x - Node.js v14.17.0; Electron 15.x - Node.js v16.5.0; Electron 16.x - Node.js v16.9.1 ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Great ! Fixed by #1848
@MartyGentillon check #1848 👌