Skip to content

The plugin can not find the correct path to .babelrc.js #70

Description

@narajaon
  • 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions