copilot-emacs / copilot.el

An unofficial Copilot plugin for Emacs.
MIT License
1.72k stars 122 forks source link

Login Error -> jsonrpc-error "Server died" #185

Closed AAlvz closed 9 months ago

AAlvz commented 9 months ago

Hola! First of all, thanks for the package.

I ran the instructions and when I'm trying to use copilot-login I get the following error:

jsonrpc-error: "request id=1 failed:", (jsonrpc-error-code . -1), (jsonrpc-error-message . "Server died"), (jsonrpc-error-data)

My understanding is that jsonrpc service is down but I'd like to know if this is something with an easier solution. Maybe I did a wrong configuration.

I can't login. That's as far as I get trying to configure copilot.el.

Help! Thanks in advance :)

btw. Node v. 18 emacs v. 28 Ubuntu 20.04

AAlvz commented 9 months ago

Hello. Here's more info to this issue:

This is the outupt I get to Messages

Copilot agent started.
[jsonrpc] Server exited with status 1
Error during redisplay: (copilot--on-doc-focus #<window 1 on *Messages*>) signaled (jsonrpc-error "request id=1 failed:" (jsonrpc-error-code . -1) (jsonrpc-error-message . "Server died") (jsonrpc-error-data))
AAlvz commented 9 months ago

NVM. I had missing packages. I tried to install it manually by parts. Easiest thing to do: Clone repo and use as emacs require. Cheers!