You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User Config: ssr, css, build, devServer, modules, runtimeConfig
Runtime Modules: nuxt-graphql-client@0.2.27
Build Modules: -
Describe the bug
The bug occurs only after build when running node .output/server/index.mjs
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/MyPath/project/.output/server/node_modules/graphql/language/parser' imported from /MyPath/project/.output/server/index.mjs
Did you mean to import graphql/language/parser.js?
at new NodeError (node:internal/errors:399:5)
at finalizeResolution (node:internal/modules/esm/resolve:326:11)
at moduleResolve (node:internal/modules/esm/resolve:945:10)
at defaultResolve (node:internal/modules/esm/resolve:1153:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:838:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
at link (node:internal/modules/esm/module_job:76:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
This issue already been reported here on a windows os : #117
I have this issue on mac os also...
Environment
Describe the bug
The bug occurs only after build when running
node .output/server/index.mjs
This issue already been reported here on a windows os : #117
I have this issue on mac os also...
Expected behaviour
No bugs when running build.
Reproduction
https://stackblitz.com/edit/github-4knyqk?file=nuxt.config.ts
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: