evil-collection icon indicating copy to clipboard operation
evil-collection copied to clipboard

evil-collection-vterm.elc failed to provide feature ‘evil-collection-vterm’

Open XushanLu opened this issue 1 year ago • 2 comments

I am running into this problem after I updated all the packages in Spacemacs when trying to open a vterm buffer.:

evil-collection-require: Loading file /home/xsl/.emacs.d/elpa/28.1/develop/evil-collection-20220810.1901/modes/vterm/evil-collection-vterm.elc failed to provide feature ‘evil-collection-vterm’

This is the only message I could find. I don't really know whether the problem is caused by evil-collection or other packages. I simply do not have the knowledge to figure this out. I'd still like to be able to use vterm.

I will post any other information that might be useful. Please comment.

XushanLu avatar Aug 27 '22 00:08 XushanLu

C-x C-f the .elc file, the last line of that file should be

(provide 'evil-collection-vterm)

If not, (byte-compile-file "/path/to/evil-collection-vterm.el") in *scratch* buffer.

PS: you can delete the .elc file to get around the issue temporarily.

condy0919 avatar Sep 04 '22 08:09 condy0919

I ran into the same issue. The .elc file on my computer was missing all of the function definitions. I deleted the .elc file and ran byte-compile-file as suggested above to recreate the .elc file, and then that fixed it for me.

Technius avatar Sep 21 '22 19:09 Technius

The same issue here, Had to remove the .elc file

alexshagov avatar Oct 26 '22 11:10 alexshagov