+format/region-or-buffer (aka "SPC c f") doesn't work

What happened?

When I open some code (I have tried C, python, and elisp) and try to do “SPC c f” to format a buffer or region, the function throws an error. This error happens regardless of if I have a region highlighted or not. I also get this error if I try to run it interactively via M-x.

Wrong type argument: commandp, +format/region-or-buffer

What did you expect to happen?

I expected the region to be formatted by lsp if active and some fallback function otherwise.

Steps to reproduce

  1. Open buffer containing code
  2. use “SPC c f” keybinding

System information

Ubuntu 22.04.3 LTS WSL

Loading data dump...