graphql-playground icon indicating copy to clipboard operation
graphql-playground copied to clipboard

playground stuck on start

Open shz13009 opened this issue 6 years ago • 12 comments

This 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?

mac 10.14.3 (18D109)

What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?

1.8.9

What is the expected behavior?

pop up a window to let user choose url/local file

What is the actual behavior?

never pop up the window

What steps may we take to reproduce the behavior?

open graphql playground

Please provide a gif or image of the issue for a quicker response/fix. screen shot 2019-02-11 at 4 52 32 pm screen shot 2019-02-11 at 4 55 31 pm

shz13009 avatar Feb 12 '19 00:02 shz13009

1

seem like CDN is down, I have interview tomorrow, what a bad timing

tylim88 avatar Feb 12 '19 12:02 tylim88

Also seeing this as well, locally and on production environments.

image

garythung avatar Feb 12 '19 14:02 garythung

I'm seeing the same as @garythung.

brandondoran avatar Feb 12 '19 18:02 brandondoran

BTW reinstall does not help

shz13009 avatar Feb 13 '19 02:02 shz13009

Are you still having the same problem?

yoshiakis avatar May 23 '19 13:05 yoshiakis

same

CreatCodeBuild avatar Jun 14 '19 23:06 CreatCodeBuild

Hi @CreatCodeBuild!, what error messages do you have in the browser console?

yoshiakis avatar Jun 15 '19 02:06 yoshiakis

It's the electron app and it's only on Mac. Windows works fine.

CreatCodeBuild avatar Jun 16 '19 04:06 CreatCodeBuild

@CreatCodeBuild Thank you for information. Could you tell me if there are any error messages in the console in the Electron's developer tools?

yoshiakis avatar Jun 16 '19 05:06 yoshiakis

@yoshiakis I'm having the same issue as @CreatCodeBuild. Here is the error output I'm seeing:

app.52474f40a85b8b9c3215.js:85086 TypeError: Cannot read property 'get' of undefined
    at app.52474f40a85b8b9c3215.js:13764
    at app.52474f40a85b8b9c3215.js:11560
    at app.52474f40a85b8b9c3215.js:11520
    at app.52474f40a85b8b9c3215.js:11574
    at app.52474f40a85b8b9c3215.js:11520
    at app.52474f40a85b8b9c3215.js:11570
    at Function.mapToProps (app.52474f40a85b8b9c3215.js:11520)
    at mapToPropsProxy (app.52474f40a85b8b9c3215.js:12913)
    at Function.detectFactoryAndVerify (app.52474f40a85b8b9c3215.js:12922)
    at mapToPropsProxy (app.52474f40a85b8b9c3215.js:12913)
    at handleFirstCall (app.52474f40a85b8b9c3215.js:13044)
    at pureFinalPropsSelector (app.52474f40a85b8b9c3215.js:13085)
    at Object.runComponentSelector [as run] (app.52474f40a85b8b9c3215.js:11903)
    at Connect.initSelector (app.52474f40a85b8b9c3215.js:12062)
    at new Connect (app.52474f40a85b8b9c3215.js:12000)
    at Wf (app.52474f40a85b8b9c3215.js:85043)
Hg @ app.52474f40a85b8b9c3215.js:85086
app.52474f40a85b8b9c3215.js:85126 Uncaught TypeError: Cannot read property 'get' of undefined
    at app.52474f40a85b8b9c3215.js:13764
    at app.52474f40a85b8b9c3215.js:11560
    at app.52474f40a85b8b9c3215.js:11520
    at app.52474f40a85b8b9c3215.js:11574
    at app.52474f40a85b8b9c3215.js:11520
    at app.52474f40a85b8b9c3215.js:11570
    at Function.mapToProps (app.52474f40a85b8b9c3215.js:11520)
    at mapToPropsProxy (app.52474f40a85b8b9c3215.js:12913)
    at Function.detectFactoryAndVerify (app.52474f40a85b8b9c3215.js:12922)
    at mapToPropsProxy (app.52474f40a85b8b9c3215.js:12913)
    at handleFirstCall (app.52474f40a85b8b9c3215.js:13044)
    at pureFinalPropsSelector (app.52474f40a85b8b9c3215.js:13085)
    at Object.runComponentSelector [as run] (app.52474f40a85b8b9c3215.js:11903)
    at Connect.initSelector (app.52474f40a85b8b9c3215.js:12062)
    at new Connect (app.52474f40a85b8b9c3215.js:12000)
    at Wf (app.52474f40a85b8b9c3215.js:85043)

br-keifer avatar Aug 07 '19 15:08 br-keifer

@br-keifer Sorry for replying late. I guess that error is happening because your local storage state for playground is invaild. Can you clear the local storage for playground?

yoshiakis avatar Aug 15 '19 08:08 yoshiakis

I had same issue in express , typescript , apollo-server-express. fixed by this :

import { ServerRegistration } from 'apollo-server-express'
server.applyMiddleware({ app, path: '/__graphql' } as ServerRegistration)

in my case , seems problem related to typescript types . and FIXED after that .

penkong avatar Jun 08 '21 07:06 penkong