Skip to content
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

Blank page #11

Open
inteldon opened this issue Sep 13, 2020 · 0 comments
Open

Blank page #11

inteldon opened this issue Sep 13, 2020 · 0 comments

Comments

@inteldon
Copy link

Follow the tutorial and got a blank page. I get a few error messages on the browser that go like this:

Uncaught TypeError: cache.transformDocument is not a function

I also tried to incorporate this into my app that uses react-router to route pages, so I create a "TestPage" component and tried using it to demo the calls to graphql server and the results were blank, again. This time the message was as follows:

`
The above error occurred in the component:
in Query (created by Apollo(TestPage))
in Apollo(TestPage) (created by Context.Consumer)
in Route (created by App)
in Switch (created by App)
in div (created by App)
in Router (created by HashRouter)
in HashRouter (created by App)
in App (created by ApolloApp)
in ApolloProvider (created by ApolloApp)
in ApolloApp

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
`

I also tried cloning the git repo and use the examples and they also returned a blank page.

Great tutorial and examples but those tiny details ruined it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant