Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: ReferenceError: queueMicrotask is not defined #15231

Closed
santhoshmp89 opened this issue Aug 1, 2024 · 5 comments
Closed

[Bug]: ReferenceError: queueMicrotask is not defined #15231

santhoshmp89 opened this issue Aug 1, 2024 · 5 comments

Comments

@santhoshmp89
Copy link

Version

24.8.0

Steps to reproduce

I have upgraded the apollo client to the latest version and getting ReferenceError: queueMicrotask is not defined error.

image

Expected behavior

Should not get error

Actual behavior

image

Additional context

No response

Environment

.
@stelian96
Copy link

I have the same issue. I have added this to my App.ts and the app is now running, but getClient.query doesnt work as after this. if (typeof global.queueMicrotask !== 'function') { if (typeof global.setImmediate === 'function') { global.queueMicrotask = function(callback) { global.setImmediate(callback); }; } else { global.queueMicrotask = function(callback) { global.setTimeout(callback, 0); }; } }

Copy link

github-actions bot commented Sep 8, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Sep 8, 2024
Copy link

github-actions bot commented Oct 8, 2024

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 8, 2024
Copy link

github-actions bot commented Oct 8, 2024

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.

Copy link

github-actions bot commented Nov 8, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants