-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
- Using nextjs v10
- @babel/core v7.14
Invariant Violation: graphql: Unexpected invocation at runtime. Either the Babel transform was not set up, or it failed to identify this call site. Make sure it is being used verbatim as `graphql`. Note also that there cannot be a space between graphql and the backtick that follows
.
at invariant (/home/project/node_modules/fbjs/lib/invariant.js:40:15)
at Object.graphql (/home/project/node_modules/relay-runtime/lib/query/GraphQLTag.js:24:52)
To solve this issue I had to ln -s .babelrc.js babel.config.js
Metadata
Metadata
Assignees
Labels
No labels