globalThis is not defined error when updating graphql-tools from v7 to v8 #3947
Unanswered
anandrahul604
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have recently updated graphql-tools from v7 to v8. The versions im currently running in my node app are:
In /app/node_modules/@graphql-tools/schema/node_modules/@graphql-tools/utils/index.js:1167:26 I am getting the following error:
exports.AggregateError = globalThis.AggregateError; ReferenceError: globalThis is not defined
I am unsure why its undefined in this file, as I am using globalThis in other modules and it works fine. Anyone have any ideas?
Beta Was this translation helpful? Give feedback.
All reactions