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

setImmediate deprecated #39

Open
Atchett opened this issue Apr 11, 2024 · 0 comments
Open

setImmediate deprecated #39

Atchett opened this issue Apr 11, 2024 · 0 comments

Comments

@Atchett
Copy link

Atchett commented Apr 11, 2024

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,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant