We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I get this error in my Firefox JS console: Uncaught SyntaxError: missing name after . operator
Uncaught SyntaxError: missing name after . operator
When I click the link behind this message, it jumps to this code:
// node_modules/graphql/jsutils/instanceOf.mjs var instanceOf = globalThis.process && globalThis."development" === "production" ? function instanceOf2(value, constructor) {
I assume it's this, but I'm new to JS, so I don't know where this gets translated from ts to mjs.
ts
mjs
graphql-js/src/jsutils/instanceOf.ts
Line 12 in 3610786
process?.env.NODE_ENV
Am I using it wrong? How can I prevent that?
Greetings
The text was updated successfully, but these errors were encountered:
I dug deeper into the exiting issues - and not just looked for my error - and found that this is a duplicate of #3928
Sorry, something went wrong.
No branches or pull requests
Hi,
I get this error in my Firefox JS console:
Uncaught SyntaxError: missing name after . operator
When I click the link behind this message, it jumps to this code:
I assume it's this, but I'm new to JS, so I don't know where this gets translated from
ts
tomjs
.graphql-js/src/jsutils/instanceOf.ts
Line 12 in 3610786
The
process?.env.NODE_ENV
seems to be replaced with its literal value, what results in an incorrect syntax.Am I using it wrong? How can I prevent that?
Greetings
The text was updated successfully, but these errors were encountered: