copilot-emacs / copilot.el

An unofficial Copilot plugin for Emacs.
MIT License
1.79k stars 126 forks source link

Copilot fails with jsonrpc-error #148

Closed jheyming closed 1 year ago

jheyming commented 1 year ago

Whenever I do copilot-login I get the following error:

Copilot agent started. [jsonrpc] Server exited with status 1 jsonrpc-request: jsonrpc-error: "request id=1 failed:", (jsonrpc-error-code . -1), (jsonrpc-error-message . "Server died"), (jsonrpc-error-data)

Any tips?

jheyming commented 1 year ago

emacs-version is 28.1 node --version is v16.15.1 jsonrpc 1.0.17

jheyming commented 1 year ago

copilot-diagnose is the same:

Copilot agent started.
[jsonrpc] Server exited with status 1
jsonrpc-request: jsonrpc-error: "request id=1 failed:", (jsonrpc-error-code . -1), (jsonrpc-error-message . "Server died"), (jsonrpc-error-data)
jheyming commented 1 year ago

I figured it out. this is a manual install and I had to change copilot--base-dir

LazerJesus commented 10 months ago

@jheyming what did you set it to and how?