-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
don`t work without graphql #32
Comments
this is not related to this library - you have not yet setup graphql: https://docs.nestjs.com/graphql/quick-start#installation |
GraphQL is only required if you want to use the GraphQlInterceptor. Please use the latest released version |
Also getting this issue whilst using |
I'm also experiencing it. I'm using the latest version |
@ntegral this is an issue, so please reopen. Every one of my services started complaining about needing graphql after upgrading to 2.0.6. Looking at the |
@Gbuomprisco oddly enough, a strict requirement on 2.0.5 will complain about the graphql requirements during build time, but at runtime it still functions. 2.0.6 is completely borked though. |
I have the same issue. Do you have a solution for it? |
Same issue here even though we don't use Graphql anywhere in our codebase |
Do we have updates on this? same problem with version "@ntegral/nestjs-sentry": "^2.0.6" |
Same problem but weirdly enough on |
internal/modules/cjs/loader.js:818
throw err;
^
Error: Cannot find module 'graphql'
Require stack:
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/dist/node_modules/@nestjs/graphql/dist/decorators/directive.decorator.js:4:19)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/dist/node_modules/@nestjs/graphql/dist/decorators/index.js:7:22)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/dist/node_modules/@nestjs/graphql/dist/decorators/directive.decorator.js',
'/dist/node_modules/@nestjs/graphql/dist/decorators/index.js',
'/dist/node_modules/@nestjs/graphql/dist/index.js',
'/dist/node_modules/@nestjs/graphql/index.js',
'/dist/node_modules/@ntegral/nestjs-sentry/dist/sentry.interceptor.js',
'/dist/node_modules/@ntegral/nestjs-sentry/dist/index.js',
'/dist/main.js'
]
The text was updated successfully, but these errors were encountered: