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.

Does not work with electron 14+ anymore

See original GitHub issue

The module can’t be used with electron 14 or higher. Electron 14 has no remote module anymore, we need to use @electron/remote instead, but the library still depends on the existance of electron.remote.

The alpha version also seems to be affected, at least I can’t find @electron/remote listed in the package.json.

Uncaught TypeError: Cannot read properties of undefined (reading 'getGlobal')
    at getInitialStateRenderer (C:\...\node_modules\electron-redux\dist\helpers\getInitialStateRenderer.js:11)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:7
  • Comments:6

github_iconTop GitHub Comments

2reactions
seanmacisaaccommented, Oct 28, 2021

We use electron-redux and would like to move Electron >= 14, any update on this issue?

2reactions
Treverixcommented, Sep 3, 2021

https://github.com/klarna/electron-redux/pull/314 seems to fix it. The ipc channel name there should probably be changed to some UUID or get-redux-state-<shortuuid> to further reduce the risk of channel name clashes, just in case a user has a channel with the same name already (also electron will report an error, if a channel is created twice for the same name)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Electron 14.0.0
Electron 14.0.0 has been released! It includes upgrades to Chromium 93 and V8 9.3 . We've added several API updates, bug fixes, and...
Read more >
Drag not functioning in frameless window in electron 14 and 15
I have been successfully using the official documentation to get frameless draggable windows in electron. It worked just fine with electron 10. ...
Read more >
Changelog - Cypress Documentation
Fixed an issue where the query object was not available on requests from ... using Angular v14.2.0 and above would be unable to...
Read more >
Getting Started With Electron JS - YouTube
Electron JS is the powerful new way to create cross-platform desktop apps. In this video I will show ... Your browser can't play...
Read more >
Meteor-Desktop - Keytar no longer working - how to upgrade?
This is for those who build Electron apps with Meteor, using the Meteor-Desktop app. I'm having a problem that any API call to...
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