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.

Opening from endpoint does not work with workspaces?

See original GitHub issue

This issue pertains to the following package(s):

  • GraphQL Playground - Electron App

What OS and OS version are you experiencing the issue(s) on?

Windows 10 x64

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

1.5.6

What is the expected behavior?

To remember the workspace so I don’t need to enter the endpoint URL every time.

What is the actual behavior?

I can enter endpoint and open the playground, everything works. When I close it and reopen later, the “recent” list is empty and I have to enter the endpoint URL again. However, it does reopen tabs correctly. I tried using Close workspace menu item instead of quit, but with a same result.

Furthermore when I click Workspace -> Save file menu item, nothing happens, but in dev console I can see this error. I assume it’s missing a filepath simply because I opened from the endpoint and not the .graphqlconfig file.

Uncaught (in promise) TypeError: path must be a string or Buffer
    at Object.fs.openSync (fs.js:652:18)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:173:20)
    at Object.fs.writeFileSync (fs.js:1311:33)
    at Object.App._this.saveConfig [as onSaveConfig]

image

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8

github_iconTop GitHub Comments

11reactions
robbyemmertcommented, May 16, 2018

I’m experiencing this as well, exactly the same. I’m on Mac OS 10.13.4 with GraphQL Playground 1.5.7.

3reactions
TravisBallardcommented, Nov 6, 2020

Why is this still an issue over 2 years later… sigh

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot issues accessing your WorkSpace from the ...
This error typically indicates that the WorkSpaces client can authenticate over port 443, but can't establish a connection over TCP port 4172.
Read more >
Opening from endpoint does not work with workspaces? #674
I can enter endpoint and open the playground, everything works. When I close it and reopen later, the "recent" list is empty and...
Read more >
Troubleshooting online endpoints deployment and scoring
Learn how to resolve common issues in the deployment and scoring of Azure Machine Learning online endpoints. This document is structured in ...
Read more >
Citrix Workspace app not opening 2nd instance of published ...
Any idea how to resolve this issue other than resetting Workspace? Could this be an issues with the users local profile on the...
Read more >
Chapter 4. Configuring CodeReady Workspaces
CodeReady Workspaces websocket major endpoint. Provides basic communication ... It does not make sense to change the value of this property manually.
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