Open
Description
This will occur if you have a monorepo setup and, somehow, you also got two version of graphql installed.
Since the release of v15, instrospectionQuery
is deprecated. There is a new function called getIntrospectionQuey
.
Somehow, this lib was using the most recent version of graphql available in node_modules and was trowing Module not found: Error: Must provide Source
.
For me, to fix this matter I had to downgrade all graphql versions to v14. In my setup, I had a package called server and client that was using graphl v15, since graphql is a dependency of this lib, I ended up with two versions of it.
Metadata
Assignees
Labels
No labels
Activity