-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Playground with facebooks create-react-app fails to compile #747
Comments
having the same problem bootstrapping with next.js |
This is related to what seems to be an accidental BC break in the Graphql library. Followed the instructions in this issue over on the graphiql project, namely |
I just hit this today with a fresh create-react-app --typescript app:
import React from "react";
import { Provider } from "react-redux";
import { Playground, store } from "graphql-playground-react";
const App: React.FC = () => (
<Provider store={store}>
<Playground endpoint="https://api.graph.cool/simple/v1/swapi" />
</Provider>
); |
If you
|
Had the same issue @tizmagik |
This issue pertains to the following package(s):
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'
graphql/graphql-language-service#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.
The text was updated successfully, but these errors were encountered: