Diizzayy / nuxt-graphql-client

⚡️ Minimal GraphQL Client + Code Generation for Nuxt3
https://nuxt-graphql-client.web.app
MIT License
366 stars 44 forks source link

Cannot find module .output\server\node_modules\graphql\language\parser #338

Open andrespaucar opened 1 year ago

andrespaucar commented 1 year ago

Environment

Describe the bug

Did you mean to import graphql/language/parser.js? at new NodeError (node:internal/errors:372:5) at finalizeResolution (node:internal/modules/esm/resolve:437:11) at moduleResolve (node:internal/modules/esm/resolve:1009:10) at defaultResolve (node:internal/modules/esm/resolve:1218:11) at ESMLoader.resolve (node:internal/modules/esm/loader:580:30) at ESMLoader.getModuleJob (node:internal/modules/esm/loader:294:18) at ModuleWrap. (node:internal/modules/esm/module_job:80:40) at link (node:internal/modules/esm/module_job:78:36) { code: 'ERR_MODULE_NOT_FOUND' }

ERROR Command failed with exit code 1: node ./server/index.mjs

Expected behaviour

No bugs when running build.

Reproduction

No response

Additional context

No response

Logs

No response

maximilliangeorge commented 1 year ago

I have the same issue.

maximilliangeorge commented 1 year ago

Duplicate of https://github.com/Diizzayy/nuxt-graphql-client/issues/336

maximilliangeorge commented 1 year ago

Workaround: https://github.com/Diizzayy/nuxt-graphql-client/issues/117#issuecomment-1249737478

andrespaucar commented 1 year ago

@maximilliangeorge thank you