安装doom-emacs无法下载evil,然后手动从github上下载后放到.local/straight/repos/ 目录下,安装通过了,但是doom compile的时候报错。折腾两天了,上头打了,大家有遇到过这个问题吗吗?
错误信息如下: In toplevel form: …/workspaces/config.el:42:15:Warning: variable ‘_’ not left unused ✓ Compiled modules/ui/workspaces/config.el
Cannot load evil: (file-missing “Cannot open load file” “No such file or directory” “evil-vars”)
In toplevel form: …/…/editor/evil/config.el:57:16:Error: Cannot open load file: No such file or directory, evil-vars x Failed to compile modules/editor/evil/config.el ✓ Compiled modules/editor/evil/+everywhere.el x There were breaking errors.
Reverting changes… x There was an unexpected error: Type: doom-error Message: Error in Doom Emacs core Data: byte-compile (void-function evil-define-key*)
Run the command again with the -d (or --debug) switch to enable debug mode and (hopefully) generate a backtrace from this error:
doom -d compile
If you file a bug report, please include it!