cli icon indicating copy to clipboard operation
cli copied to clipboard

`supabase login` "freezes" terminal and dosen't open browser

Open Paillat-dev opened this issue 1 year ago • 2 comments

Describe the bug A clear and concise description of what the bug is. When running the supabase login command, the terminal freezes, well kinda... It disables in some way the ability to copy the link, and dosen't open it to my default browser. Basically like the "text selection" was disabled.

To Reproduce Steps to reproduce the behavior:

  1. Install the supabase cli on windows
  2. Make sure you open a windows terminal (not cmd, could not test with that)
  3. Install the cli as per the docs
  4. Run supabase login
  5. Press enter
  6. You can't select the link and it's all broken

Expected behavior The browser opening, or at least me being able to copy the link.

Screenshots image

System information Rerun the failing command with --create-ticket flag. The feature didn't work, it ignored the flag when running the command.

Additional context If applicable, add any other context about the problem here.

  • Default browser Arc for Windows
  • Version of supabase-js 1.178.2 (supabase --version)
  • Version of Node.js v20.9.0
  • Windows 11

Paillat-dev avatar Jun 22 '24 20:06 Paillat-dev

By windows terminal, do you mean PowerShell? Just for clarification, have you also tried holding down ctrl + clicking the link?

sweatybridge avatar Jun 27 '24 09:06 sweatybridge

I mean either PowerShell or CMD, but in the windows Terminal app, which is default in win 11 and not the legacy window. And yes, I have and it didn't work.

Paillat-dev avatar Jun 27 '24 10:06 Paillat-dev