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

Doesn't work as expected when called by flyctl #44

Open
Boscop opened this issue Nov 12, 2022 · 0 comments
Open

Doesn't work as expected when called by flyctl #44

Boscop opened this issue Nov 12, 2022 · 0 comments

Comments

@Boscop
Copy link

Boscop commented Nov 12, 2022

Thanks for this great package, it seems promising :)
But it's not working as expected:
I installed it globally with yarn. Then copied rdcli.cmd to redis-cli.cmd because flyctl expects it under that name in PATH.
https://fly.io/docs/reference/redis/
Then I ran this but it failed to find node:

> flyctl.exe redis connect
? Select a database to connect to foo_redis (lax) personal
Proxying local port 16379 to remote [...]:6379
'node' is not recognized as an internal or external command,
operable program or batch file.

> node
Welcome to Node.js v18.12.0.
Type ".help" for more information.

Do you know why it's failing or how I can make it work? :)


Btw, this is my current workaround, but requires keeping two terminals open:

flyctl proxy 16379:6379

And then in another terminal:

redis-cli -p 16379 -a

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