question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GraphiQL fails with Module not found: Can't resolve 'graphql/validation/rules/ExecutableDefinitions'

See original GitHub issue

In 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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
dpodsiadlocommented, Jul 19, 2018

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.

6reactions
masad-frostcommented, Feb 27, 2019

Should probably remove older graphql-js versions from peer dependencies

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found