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 wont render

See original GitHub issue

I clone the repo, installed everything and tried to see localhost:3000/graphql, it wont render anything. Instead shows, some javascript like

<|]|"+re.src_ZPCc+"))("+slist+")","i"),self.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+re.src_ZPCc+"))("+slist+")","ig"),self.re.pretest=RegExp("("+self.re.schema_test.source+")|("+self.re.host_fuzzy_test.source+")|@","i"),function(self){self.__index__=-1,self.__text_cache__=""}(self)}function Match(self,shift){var start=self.__index__,end=self.__last_index__,text=self.__text_cache__.slice(start,end);this.schema=....

and console shows this error Uncaught SyntaxError: Unexpected token '<' graphql:1997 Uncaught ReferenceError: GraphiQL is not defined at graphql:1997 `

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
langpavelcommented, Nov 19, 2019

Hey, sorry. I’m so busy now, but if you introduce additional tests, it will be great!

2reactions
piglovesyoucommented, Nov 19, 2019

@langpavel @frenzzy I’d like to know your opinions if I say I’ll set up simple puppetteer tests to make sure yarn start:

  • shows the top page
  • enables Hot Module Replacement
  • launches GraphiQL

. These are the relatively sensitive points to be affected easily in RSK, I think.

You would say it’s too much for RSK, however. I’ll be glad if you leave a quick comment. I’ll wait for a couple of days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Editor is not showing on first render · Issue #770 · graphql ...
As a workaround I'm using a setTimeout function with a 500ms delay to lazy render the GraphiQL component. Hope this helps.
Read more >
GraphQL Data showing in console but doesnt render ...
Nothing at all is being rendered. The word "bar" is not even being rendered, which means that it's recognizing that there is an...
Read more >
Server-side rendering - Apollo GraphQL Docs
Server-side rendering (SSR) is a performance optimization for modern web apps. It enables you to render your app's initial state to raw HTML...
Read more >
GraphiQL – GraphQL Yoga
This allows rendering GraphiQL conditionally e.g. based on a header presence or value. Dynamic options based on the incoming request. import { ...
Read more >
Troubleshooting JSS Next.js apps
The most common cause of failed builds and apps that cannot render pages is an issue with the data-fetching process. The GraphiQL interface...
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