Fork me on GitHub
#spacemacs
<
2020-12-25
>
erwinrooijakkers10:12:34

I updated spacemacs develop branch but now get:

Error (use-package): debug/:init: Symbol's function definition is void: which-key-add-keymap-based-replacements
Error (use-package): display-line-numbers/:init: Symbol's function definition is void: which-key-add-keymap-based-replacements
Error (use-package): elisp-slime-nav/:init: Symbol's function definition is void: which-key-add-keymap-based-replacements
Warning (initialization): An error occurred while loading '/Users/erooijak/.emacs.d/init.el':

Symbol's function definition is void: which-key-add-keymap-based-replacements
Any idea how to fix this which-key-add-keymap-based-replacements error?

practicalli-johnny11:12:53

Did you updated the packages as well - `SPC f e U? Did you updated your .spacemacs file from the spacemacs.template - SPC f e D I assume the error message occured when restarting Emacs. I assume you have tried restarting a couple of times

practicalli-johnny11:12:37

Suggest moving your .spacemacs file out of the way (rename the file) and start Emacs

erwinrooijakkers11:12:38

thanks. i restarted a few times

erwinrooijakkers11:12:47

.spacemacs i did make a compare

erwinrooijakkers11:12:54

and took some changes, but not all

erwinrooijakkers11:12:18

i’ll try to move and then do compare

erwinrooijakkers11:12:10

the same happens actually with moved .spacemacs file

erwinrooijakkers11:12:35

maybe remove the folder

practicalli-johnny11:12:30

If you get errors with the .spacemacs file that Spacemacs creates, then it sounds like the .emacs.d config was broken by the git pull to update

practicalli-johnny11:12:37

.emacs.d/cache and .emac.d/private are the only directories that contain data that can't be reproduced

erwinrooijakkers11:12:51

i’ll remove it completely

erwinrooijakkers11:12:32

or maybe make a backup

erwinrooijakkers11:12:11

i try with clean .emacs.d and my old .spacemacs now

practicalli-johnny11:12:18

I would move the .emacs.d directory rather than delete it, you can always delete when everything is working

practicalli-johnny11:12:58

Suggest moving both .emacs.d and .spacemacs out of the way

practicalli-johnny11:12:35

Maybe even .spacemacs.env if you added anything to that too

practicalli-johnny11:12:18

Much quicker to add your own changes to a working system

erwinrooijakkers11:12:19

oh did not know that existed

erwinrooijakkers11:12:37

thanks for the help i will get it to work with these hints!

practicalli-johnny11:12:59

It's probably safe, especially if you didn't know it's there. Spacemacs will create a new one anyway

erwinrooijakkers17:12:18

It worked after removing .emacs.d and cloning a fresh one from the develop branch. Thanks for helping!