Skip to content

Errors logged on startup in Electron 10 #767

@tomdixon

Description

@tomdixon

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.

Activity

chetbox

chetbox commented on Nov 16, 2020

@chetbox

I'm seeing the same error in version 2.17.0 with Electron 10.1.5.

Screenshot from 2020-11-16 09-52-09

ZainChen

ZainChen commented on Feb 20, 2021

@ZainChen

Also has this problem in electron 11.3.0.

JiaoXin2005

JiaoXin2005 commented on Feb 26, 2021

@JiaoXin2005

also appeared in electron 11.3.0 🙁

none100p

none100p commented on May 13, 2021

@none100p

Also getting this one for 10.4.3

Nantris

Nantris commented on Jun 4, 2021

@Nantris

Persists in Electron 11.4.x. Is this still maintained?

added a commit that references this issue on Jun 4, 2021
a5c1384
linked a pull request that will close this issue on Jun 4, 2021
Nantris

Nantris commented on Jun 4, 2021

@Nantris

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @chetbox@tomdixon@Nantris@ZainChen@JiaoXin2005

      Issue actions

        Errors logged on startup in Electron 10 · Issue #767 · zalmoxisus/redux-devtools-extension