Gomah/nuxt-graphql-request

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

lustremedia opened this issue · 3 comments

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

Should be fixed in 7.0.1 ✌🏻

Awsome, thanks a bunch, it is working now!

broken graphql

i still get it on 7.0.1

  • Operating System: Windows_NT
  • Node Version: v18.17.1
  • Nuxt Version: 3.7.4
  • CLI Version: 3.9.0
  • Nitro Version: 2.6.3
  • Package Manager: pnpm@8.6.12
  • Builder: -
  • User Config: devtools, modules, graphql
  • Runtime Modules: nuxt-quasar-ui@2.0.5, dayjs-nuxt@1.1.2, @pinia/nuxt@0.4.11, nuxt-graphql-request@7.0.1
  • Build Modules: -