'Error: Invalid provider - only instances of Provider and Type are allowed, got: [object Object]
I am getting this error in the node-modules folder.
Error: Invalid provider - only instances of Provider and Type are allowed, got: [object Object]
at invalidProviderError (prj folder/node_modules/graphql-modules/index.js:37:12)
My index.js file in node-modules:
``` function invalidProviderError(provider) {
return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${provider}`);
}. ```
Could anyone please share your views on this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
