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
Application should start without any errors from internal nestjs modules
Package version
^12.0.11
Graphql version
graphql: ^16.8.1 apollo-server-express: ^3.13.0
NestJS version
^10.3.1
Node.js version
v18.18.0
In which operating systems have you tested?
macOS
Windows
Linux
Other
[9:06:05 PM] Found 0 errors. Watching for file changes.
[Nest] 37820 - 02/01/2024, 9:06:06 PM LOG [NestFactory] Starting Nest application...
[Nest] 37820 - 02/01/2024, 9:06:06 PM LOG [InstanceLoader] AppModule dependencies initialized +7ms
[Nest] 37820 - 02/01/2024, 9:06:06 PM ERROR [ExceptionHandler] Nest can't resolve dependencies of the ApolloDriver. Please make sure that the "graphQlFactory" property is available in the current context.
Potential solutions:
- Is GraphQLModule a valid NestJS module?
- If GraphQLFactory is a provider, is it part of the current GraphQLModule?
- If GraphQLFactory is exported from a separate @Module, is that module imported within GraphQLModule?
@Module({
imports: [ /* the Module containing GraphQLFactory */ ]
})
Error: Nest can't resolve dependencies of the ApolloDriver. Please make sure that the "graphQlFactory" property is available in the current context.
Potential solutions:
- Is GraphQLModule a valid NestJS module?
- If GraphQLFactory is a provider, is it part of the current GraphQLModule?
- If GraphQLFactory is exported from a separate @Module, is that module imported within GraphQLModule?
@Module({
imports: [ /* the Module containing GraphQLFactory */ ]
})
at Injector.lookupComponentInParentModules (/Volumes/SSD_ACIOLI/docs/work/jrcia/insight-led/node_modules/@nestjs/core/injector/injector.js:254:19)
at Injector.resolveComponentInstance (/Volumes/SSD_ACIOLI/docs/work/jrcia/insight-led/node_modules/@nestjs/core/injector/injector.js:207:33)
at /Volumes/SSD_ACIOLI/docs/work/jrcia/insight-led/node_modules/@nestjs/core/injector/injector.js:313:38
at async Promise.all (index 2)
at Injector.resolveProperties (/Volumes/SSD_ACIOLI/docs/work/jrcia/insight-led/node_modules/@nestjs/core/injector/injector.js:304:27)
at callback (/Volumes/SSD_ACIOLI/docs/work/jrcia/insight-led/node_modules/@nestjs/core/injector/injector.js:64:36)
at Injector.resolveConstructorParams (/Volumes/SSD_ACIOLI/docs/work/jrcia/insight-led/node_modules/@nestjs/core/injector/injector.js:144:24)
at Injector.loadInstance (/Volumes/SSD_ACIOLI/docs/work/jrcia/insight-led/node_modules/@nestjs/core/injector/injector.js:70:13)
at Injector.loadProvider (/Volumes/SSD_ACIOLI/docs/work/jrcia/insight-led/node_modules/@nestjs/core/injector/injector.js:97:9)
at /Volumes/SSD_ACIOLI/docs/work/jrcia/insight-led/node_modules/@nestjs/core/injector/instance-loader.js:56:13
The text was updated successfully, but these errors were encountered:
Thank you for taking the time to submit your report! From the looks of it, this could be better discussed on our Discord. If you haven't already, please join here and send a new post in the # 🐈 nestjs-help forum. Make sure to include a link to this issue, so you don't need to write it all again. We have a large community of helpful members, who will assist you in getting this to work.
Is there an existing issue for this?
Current behavior
Application with non-deterministic behavior with Apollo Driver.
Minimum reproduction code
https://gist.github.com/patrickacioli/33b24e736239dbade8adcf37982cf290
Steps to reproduce
Expected behavior
Application should start without any errors from internal nestjs modules
Package version
^12.0.11
Graphql version
graphql: ^16.8.1
apollo-server-express: ^3.13.0
NestJS version
^10.3.1
Node.js version
v18.18.0
In which operating systems have you tested?
Other
The text was updated successfully, but these errors were encountered: