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

GraphQL connection info not found #2

Open
DarkChris86 opened this issue Feb 9, 2021 · 6 comments
Open

GraphQL connection info not found #2

DarkChris86 opened this issue Feb 9, 2021 · 6 comments

Comments

@DarkChris86
Copy link

DarkChris86 commented Feb 9, 2021

Hey,

I found the following problem. Am I miss something?
The Local (v5.9.8) is running at my side , but I've got this error message:

local-cli --help
Local CLI =========

VERSION
@getflywheel/local-cli/0.0.5 win32-x64 node-v14.15.0

USAGE
$ local-cli [COMMAND]
COMMANDS
help display help for local-cli
list-sites list all Local sites
start-site start a Local site and all of its services
stop-site stop a Local site and all of its services

PS E:\Local...> local-cli list-sites
Error: GraphQL connection info not found. Please ensure that Local is running.

@runebakjacobsen
Copy link

runebakjacobsen commented Feb 13, 2021

It currently looks like there is only support for macOS. I am not sure where Local saves the connection info on Windows. But what I can tell from get-connection-info.ts it uses the macOS path.

Using something like process.platform here to check the OS and use the corresponding path would probably solve the issue.

@ethanclevenger91
Copy link

Looks like it also doesn't support WSL.

@mwmdev
Copy link

mwmdev commented Sep 20, 2021

Same problem here with Linux (Ubuntu)

@philipjohn
Copy link

Just tried this myself on Pop! OS (also Linux) and get the same result.

@dsnid3r
Copy link

dsnid3r commented Jul 7, 2022

It currently looks like there is only support for macOS. I am not sure where Local saves the connection info on Windows. But what I can tell from get-connection-info.ts it uses the macOS path.

This does appear to be the issue, upon a quick search of my Ubuntu/WSL drive I did find this same file in \wsl.localhost\Ubuntu\home\USERNAME.config\Local I'm not familiar with untildify so I need to read up on it to see if I can just change this file location and things will work or not.

@pieter-groenendijk
Copy link

Im running Nobara (Fedora based linux). Here the file was located in "home/%USERNAME%/.config/Local/". I just changed this myself to get it working!

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

7 participants