zbirenbaum / copilot.lua

Fully featured & enhanced replacement for copilot.vim complete with API for interacting with Github Copilot
MIT License
2.43k stars 65 forks source link

Authentication error #231

Closed nikmas-dev closed 8 months ago

nikmas-dev commented 8 months ago

When I run :Copilot auth I immediately get [Copilot] Failed to setup error and that's it. What can be a problem? I tried different node versions: 16, 17, LTS, nothing changed. With the official copilot.vim plugin I get Copilot: Authenticated as GitHub user <unknown>on :Copilot setup and then if I run:Copilot status it's said that I'm not authenticated.

MunifTanjim commented 8 months ago

Try :Copilot auth signout then :Copilot auth signin?

Also what's the output of :Copilot version and :Copilot status?

nikmas-dev commented 8 months ago

Try :Copilot auth signout then :Copilot auth signin?

Also what's the output of :Copilot version and :Copilot status?

Signout and then signin worked for me, thanks!)