Gomah / nuxt-graphql-request

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

JS error at index.ts 36:8 browser-ponyfill.js #54

Closed lustremedia closed 1 year ago

lustremedia commented 1 year ago

Hi @Gomah, thanks so much porting this module to nuxt 3 !!!

I just installed it and I get a Syntax error with the browser-ponyfill.js lib. I am using Node 18.18.0 and latest nuxt 3.7.4 Can you easily spot what the problem is here?

Uncaught SyntaxError: The requested module '/_nuxt/node_modules/graphql-request/node_modules/cross-fetch/dist/browser-ponyfill.js?v=9d888ccb' does not provide an export named 'default' (at index.ts:36:8)

This also seems to stop the developer tools from loading anything.

Gomah commented 1 year ago

Should be fixed in 7.0.1 ✌🏻

lustremedia commented 1 year ago

Awsome, thanks a bunch, it is working now!

jeanengelbrecht02 commented 1 year ago

broken graphql

i still get it on 7.0.1