Errors logged on startup in Electron 10
See original GitHub issueHaving recently upgraded from Electron 8 -> 10, I’m seeing console errors from the redux devtools extension on app startup. They appear to point to the use of the chrome.storage.sync
API which seems to be unavailable in the Electron context.
The errors are:
Unchecked runtime.lastError: "sync" is not available in this instance of Chrome
Error handling response: TypeError: Cannot read property 'filter' of undefined
at chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljd/js/content.bundle.js:1:21235
I’m using version 2.17.0
of the extension.
The extension does appear to work, so this isn’t critical, but it’d be nice to get to the bottom of it, as the Electron docs claim that this extension should be compatible.
Any pointers would be much appreciated.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:11
- Comments:6
Top Results From Across the Web
Error messages and console logs in Electron? - Stack Overflow
If you start electron like this, the console.log statements from the browser will be written to FILEPATH . (Read more about those command ......
Read more >Supported Command Line Switches - Electron
Command line switches supported by Electron. ... Prints Chromium's logging to stderr (or a log file). ... Ignores certificate related errors.
Read more >Top 5 electron-log Code Examples - Snyk
Learn more about how to use electron-log, based on electron-log code examples created from the most popular ways it is used in public...
Read more >Build and Secure an Electron App - OpenID, OAuth, Node.js ...
error ('Error connecting to te API: ' + error); } };. This JavaScript module is responsible for loading the logged-in user profile when...
Read more >Troubleshooting | Cypress Documentation
Run the same tests in both Electron and Chrome, then compare the screenshots/videos. Look for and isolate any differences in the Command 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
Just submitted #802 to resolve this, but I doubt this package is maintained so it’s unlikely we’ll see this merged.
Edit: Also, if anyone knows the correct
typeof
forchrome.storage.sync
that we could check against, that would be cleaner than my current solution.Persists in Electron 11.4.x. Is this still maintained?