Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

setImmediate deprecated #39

@Atchett

Description

@Atchett

Hi,

I'm running into an issue using the plugin.

The problem is that when trying to configure with a module (using cms.js rather than config.yml), locally, I get a blank screen and an error in the console -

Uncaught ReferenceError: setImmediate is not defined at ./node_modules/gatsby-plugin-static-cms/cms-identity.js

Screenshot 2024-04-11 at 18 52 24

I've googled a bit and taken a look at the code and I'm not 100% what this is doing, but I noticed that the method is deprecated, according to mozilla - https://developer.mozilla.org/en-US/docs/Web/API/Window/setImmediate

Any ideas what the fix might be for this?

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions