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
C:\Users\riley\graphql-codegen-apollo-next-ssr\example\node_modules@graphql-codegen\cli\bin.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (C:\Users\riley\graphql-codegen-apollo-next-ssr\example\node_modules@graphql-codegen\plugin-helpers\index.js:10:17)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\riley\graphql-codegen-apollo-next-ssr\example\node_modules\@graphql-codegen\plugin-helpers\index.js',
'C:\Users\riley\graphql-codegen-apollo-next-ssr\example\node_modules\@graphql-codegen\cli\bin.js'
]
}
error Command failed with exit code 1.`
The text was updated successfully, but these errors were encountered:
@RileySeaburg have you done to build in the parent directory? I got the same error for the first time I ran the codegen in the example, and it worked when I build the parent directory first
Tried implementing this example but I wasn't sure where the config was pulling ./graphql from.
Turns out the compiler has no idea either.
`Error: Cannot find module 'graphql'
Require stack:
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (C:\Users\riley\graphql-codegen-apollo-next-ssr\example\node_modules@graphql-codegen\plugin-helpers\index.js:10:17)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\riley\graphql-codegen-apollo-next-ssr\example\node_modules\@graphql-codegen\plugin-helpers\index.js',
'C:\Users\riley\graphql-codegen-apollo-next-ssr\example\node_modules\@graphql-codegen\cli\bin.js'
]
}
error Command failed with exit code 1.`
The text was updated successfully, but these errors were encountered: