Warning in console: (electron) The remote module is deprecated. Use https://github.com/electron/remote instead.
See original GitHub issueAs at version 4.4.1 the code below from here causes a warning stating (electron) The remote module is deprecated. Use https://github.com/electron/remote instead
to appear in the renderer’s dev tools console:
if (electron.remote) {
return electron.remote[name];
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
In electron since the 'remote' has been deprecated, what ...
I tried importing "remote" module in the index.js file but that didn't work. I even set the enableRemoteModule: true in webPreferences in index....
Read more >Breaking Changes | Electron
Breaking changes will be documented here, and deprecation warnings added to JS code where possible, at least one major version before the change...
Read more >electron-log - Bountysource
Warning in console : (electron) The remote module is deprecated. Use ... Use https://github.com/electron/remote instead to appear in the renderer's dev tools ...
Read more >Getting witsec Design Blocks working in Mobirise 5.6
[38350:0206/162401.759257:INFO:CONSOLE(13)] "(electron) The remote module is deprecated. Use https://github.com/electron/remote instead.
Read more >White screen when idle - Bug Reports - Anytype Community
electron /js2c/renderer_init.js:13 (electron) The remote module is deprecated. Use https://github.com/electron/remote instead. log ...
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 FreeTop 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
Top GitHub Comments
All
remote
-related parts are removed from v5The remote module was finally removed with Electron 14. We can now use @electron/remote as a replacement. Nevertheless. I get a lot of ‘call stack exceeded’ issue now, probably because log messages are, in some cases, are now sent from main to render and back until node gives up 😃
Ah - found it. I mapped the electron-log functions on
console
and that worked like a charm until electron 13.3 but not with electron 14 (with the latest version of @electron/remote) anymore. This does the ‘ping-pong’ now.