Playground with facebooks create-react-app fails to compile
See original GitHub issueThis issue pertains to the following package(s):
- GraphQL Playground - Electron App
- GraphQL Playground HTML
- GraphQL Playground
- GraphQL Playground Express Middleware
- GraphQL Playground Hapi Middleware
- GraphQL Playground Koa Middleware
- GraphQL Playground Lambda Middleware
What OS and OS version are you experiencing the issue(s) on?
OSX
What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?
“graphql-playground-react”: “^1.7.0”,
What is the expected behavior?
Working local playground react client
What is the actual behavior?
Module not found: Can't resolve 'graphql/validation/rules/ExecutableDefinitions'
https://github.com/graphql/graphql-language-service/issues/239
What steps may we take to reproduce the behavior?
Create react app with https://github.com/facebook/create-react-app and follow your own Playground React instructions
Please provide a gif or image of the issue for a quicker response/fix.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:5
Top Results From Across the Web
Playground with facebooks create-react-app fails to compile
This issue pertains to the following package(s): GraphQL Playground - Electron App GraphQL Playground HTML GraphQL Playground GraphQL ...
Read more >React JS npm start shows failed to compile web-vitals
You need to install web vitals. Open your terminal and run the following command: npm i web-vitals --save-dev.
Read more >Create React App
Whether you're using React or another library, Create React App lets you focus on code, not build tools. To create a project called...
Read more >Getting Started - React
In this tutorial, we build a tic-tac-toe game in React. ... to building any React apps, and mastering it will give you a...
Read more >UNPKG - @jam3/react-hooks
The CDN for @jam3/react-hooks. ... @jam3/react-hooks/playground/README.md. Version: ... 22, Builds the app for production to the `build` folder.<br />.
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 Free
Top 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
I just hit this today with a fresh create-react-app --typescript app:
If you
npm i graphql
as a direct dependency (which pulled downgraphql@14.5.8
as of this writing) it gets you around the error and the app seems to work. However, the following console error appears when running the app: