Graphql: Nest can't resolve dependencies of the GraphQLModule

Created on 31 Jul 2019  路  2Comments  路  Source: nestjs/graphql

I'm submitting a...


[ ] Regression 
[x ] Bug report
[ ] Feature request
[x ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

Im trying to add a graphql server to nestjs based on documentation, but im getting this error:
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.

Expected behavior

that the server work

Environment


Nest version: 6.0.0

For Tooling issues:

  • Node version: 12.6.0
  • Platform: Windows

Most helpful comment

yarn upgrade helps. Need to update nest core

All 2 comments

yarn upgrade helps. Need to update nest core

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings