Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nest can't resolve dependencies of the GraphQLModule

Tags:

graphql

nestjs

Im trying to add a graphql server to nestjs based on documentation, but im getting this error:

Nest can't resolve dependencies of the GraphQLModule (HttpAdapterHost, GqlModuleOptions, GraphQLFactory, GraphQLTypesLoader, ?). Please make sure that the argument at index [4] is available in the GraphQLModule context. +19ms

Error: Nest can't resolve dependencies of the GraphQLModule (HttpAdapterHost, GqlModuleOptions, GraphQLFactory, GraphQLTypesLoader, ?). Please make sure that the argument at index [4] is available in the GraphQLModule context.

like image 900
MPigorini Avatar asked Nov 23 '25 02:11

MPigorini


1 Answers

After check all my dependencies i saw that the command installed me the last version of @nestjs/graphql and my @nestjs/core was incompatible i needed to update my nestjs. Thanks a lot

like image 154
MPigorini Avatar answered Nov 28 '25 17:11

MPigorini



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!