GraphiQL fails with Module not found: Can't resolve 'graphql/validation/rules/ExecutableDefinitions'
See original GitHub issueIn my new Create-React-App as soon as I include "graphiql": "^0.11.11"
I see the following error
./node_modules/graphql-language-service-utils/dist/validateWithCustomRules.js
Module not found: Can't resolve 'graphql/validation/rules/ExecutableDefinitions' in '/Users/nishant/dev/cognito-poc/node_modules/graphql-language-service-utils/dist'
Seems like this may be referring to the same issue: https://github.com/graphql/graphql-language-service/issues/239
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Module not found: Can't resolve 'graphql'? - Stack Overflow
My Next.js app worked fine yesterday but today it has an error like this: error - ./node_modules/@urql/core/dist/ddbb86ae.mjs:1:0 Module not ...
Read more >How to fix 'Module not found: Can't resolve 'http' in ... - YouTube
Basically, just change 'react-scripts' to 4.0.2 in your package.json and run `npm install` again :D Follow me on Twitter: ...
Read more >graphql-ws - npm
Start using graphql-ws in your project by running `npm i graphql-ws`. There are 212 other projects in the npm registry using graphql-ws.
Read more >Troubleshooting and Common Mistakes - AWS AppSync
Missing Resolver. If you execute a GraphQL operation, such as a query, and get a null response, this may be because you don't...
Read more >Webpack can't find loaders for plugins in production - Foreman
pluginName=foreman_remote_execution ModuleNotFoundError: Module not found: Error: Can't resolve 'graphql-tag/loader' in '/usr/share/foreman' at ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I had the same issue. Installing
graphql@0.13.2
resolved it despite npm peer dependencies warnings. Also I checked graphql repo and it seems that they added ExecutableDefinitions file starting from v0.12.0.Should probably remove older graphql-js versions from peer dependencies