Gomah / nuxt-graphql-request

Easy Minimal GraphQL client integration with Nuxt.js.
https://nuxt-graphql-request.vercel.app
MIT License
194 stars 16 forks source link

fix(deps): upgrade graphql-request to fix import error #63

Closed zsavajji closed 4 months ago

zsavajji commented 4 months ago

Hi, after updating to 8.0.0 i get an import error into the nuxt console:

Uncaught SyntaxError: The requested module '/_nuxt/node_modules/graphql/language/ast.js?v=7d0305f1' does not provide an export named 'OperationTypeNode' (at analyzeDocument.js?v=7d0305f1:8:10)

After checking out the graphql-request v7 repo, it seems that imports are changed in 7.0.1, and by manually updating the dependency in the module it works correctly.

Thanks

vercel[bot] commented 4 months ago

@zsavajji is attempting to deploy a commit to the Gomah Team on Vercel.

A member of the Team first needs to authorize it.

Gomah commented 4 months ago

Thanks @zsavajj