copilot-emacs / copilot.el

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

Copilot fails at login #257

Closed mmosley91 closed 7 months ago

mmosley91 commented 7 months ago

Per the installation instructions at https://github.com/copilot-emacs/copilot.el, I cloned the copilot.el repo, downloaded node.js and I added the following to my init.el file:

(add-to-list 'load-path "~/git_repos/copilot.el")
(require 'copilot)
(setq copilot-node-executable "~/node-v20.11.0-linux-x64/bin/node")

I have the dash, s, jsonrpc and editorconfig packages installed. But when I run M-x copilot-login, I see the following error:

Invalid slot name: "#<jsonrpc-process-connection jsonrpc-process-connection-c3424>", :events-buffer-config

I am running emacs version 27.1 on Ubuntu 20.04

mmosley91 commented 7 months ago

Ah I finally solved it. I had the build-in jsonrpc library installed (v1.0.9) but i had to install the latest version (v1.0.24)