redux-devtools-extension
redux-devtools-extension copied to clipboard
Errors logged on startup in Electron 10
Having 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.
I'm seeing the same error in version 2.17.0 with Electron 10.1.5.
Also has this problem in electron 11.3.0.
also appeared in electron 11.3.0 🙁
Also getting this one for 10.4.3
Persists in Electron 11.4.x. Is this still maintained?
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
for chrome.storage.sync
that we could check against, that would be cleaner than my current solution.