copilot.lua icon indicating copy to clipboard operation
copilot.lua copied to clipboard

:Copilot auth popup never closes after inserting the one-time code on WSL2

Open angelorodem opened this issue 1 year ago • 1 comments

:Copilot auth popup never closes after inserting the one-time code on WSL2

it stays there forever, never closes even after the code has being accepted, running on windows instead of WSL2 finished successfully,

not sure how to collect logs.

angelorodem avatar Aug 20 '24 20:08 angelorodem

Same here ... also, when I close prompt with :q I see green copilot icon on status line but copilot stuff isn't working. Not sure how to proceed here either 🤷‍♂️

jannolii avatar Oct 04 '24 07:10 jannolii

Hey, I just ran into this on a VM on mac OS.

What I did was authorize copilot.lua on my host machine and then just copied ~/.config/github-copilot directory to the same directory in my vm. This made the plugin work fine.

Maybe you can do something similar? You basically just need to find one place where the auth works, and then copy the config directory to ~/.config/github-copilot directory essentially.

ldelossa avatar Nov 10 '24 19:11 ldelossa

Hey, I just ran into this on a VM on mac OS.

What I did was authorize copilot.lua on my host machine and then just copied ~/.config/github-copilot directory to the same directory in my vm. This made the plugin work fine.

Maybe you can do something similar? You basically just need to find once place where the auth works, and then copy the config directory to ~/.config/github-copilot directory essentially.

This worked for me

vladimir-voinea avatar Nov 16 '24 20:11 vladimir-voinea

having the same problem, since my host OS is windows i would have to install neovim in there just to run this and copy a file over to wsl? is there a way we can get some logs of what's going on?

mvaldes14 avatar Dec 19 '24 05:12 mvaldes14

Any update on that? I have the same issue

Axiol avatar Jan 13 '25 23:01 Axiol

for anyone who found this issue: You can copy %localappdata%\github-copilot on host to ~/.config/github-copliot on WSL to make this plugin work

sevenc-nanashi avatar Mar 20 '25 02:03 sevenc-nanashi