# Spacemacs Org-Roam Wrong type argument: commandp, org-roam-find-file

**URL:** <https://org-roam.discourse.group/t/spacemacs-org-roam-wrong-type-argument-commandp-org-roam-find-file/1795>\
**Category:** Troubleshooting\
**Created:** [July 21, 2021, 12:11pm UTC](https://org-roam.discourse.group/t/spacemacs-org-roam-wrong-type-argument-commandp-org-roam-find-file/1795 "2021-07-21T12:11:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacko01](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@jacko01](https://org-roam.discourse.group/u/jacko01)\
**Post date:** [July 21, 2021, 12:11pm UTC](https://org-roam.discourse.group/t/spacemacs-org-roam-wrong-type-argument-commandp-org-roam-find-file/1795/1 "2021-07-21T12:11:57Z")

</div>

I’ve been happily using spacemacs with org-roam, loaded via the org layer

```
    (org :variables
      org-enable-roam-support t)

```

But the last package update broke something. When I type

```
SPC m r

```

I see the usual org-roam menu but then the shortcuts don’t work. For example

```
SPC m r f

```

should call org-roam-find-file but instead I get the error

```
Wrong type argument: commandp, org-roam-find-file
```

---

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [July 21, 2021, 2:01pm UTC](https://org-roam.discourse.group/t/spacemacs-org-roam-wrong-type-argument-commandp-org-roam-find-file/1795/2 "2021-07-21T14:01:35Z")

</div>

`org-roam-find-file` is no longer available in the current version V2 of Org-roam.

To fix the org layer of Spacemacs, you would need to talk with its community, I think.

If you don’t need to work wih the org layer, there is a custom way; have a look at these two nice writeups on Spacemacs configuration for V2.

> [@Minimum configuration of org-roam v2 + org-roam-bibtex for spacemacs users](https://org-roam.discourse.group/t/minimum-configuration-of-org-roam-v2-org-roam-bibtex-for-spacemacs-users/1755):
>
> I would like to write down step-by-step instructions for setting up org-roam v2 and org-roam-bibtex on fresh installed spacemacs. I am very new to org-roam and emcas in general. As a spacemacs user, I was looking for simple instructions with minimum configurations to have org-roam and org-roam-bibtex running. I didn’t find much information. I though writing down what I have so far might be helpful to others. Please feel free to give feedback and corrections to make these instructions better. …

> [@V2 and spacemacs](https://org-roam.discourse.group/t/v2-and-spacemacs/1676/4):
>
> After several attempts, I finally make org-roam (currently v2) in Spacemacs work by creating a private layer. First off, Spacemacs’ org layer includes the org-roam package, so we need to exclude it from org layer in dotspacemacs-configuration-layers: (org :packeges (not org-roam)) Then M-x configuration-layer/create-layer, and follow the instruction to name the layer, e.g. org-roam. This will create a layer folder with a file named “packages.el”. Delete the content in the packages.el, and pa…

---

<div class="post-metadata">

**Author:** ![jacko01](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@jacko01](https://org-roam.discourse.group/u/jacko01)\
**Post date:** [July 21, 2021, 2:42pm UTC](https://org-roam.discourse.group/t/spacemacs-org-roam-wrong-type-argument-commandp-org-roam-find-file/1795/3 "2021-07-21T14:42:00Z")

</div>

That explains it! Many thanks.

---

<div class="post-metadata">

**Author:** ![doubleloop](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/doubleloop/32/99_2.png) [@doubleloop](https://org-roam.discourse.group/u/doubleloop)\
**Post date:** [July 26, 2021, 7:41pm UTC](https://org-roam.discourse.group/t/spacemacs-org-roam-wrong-type-argument-commandp-org-roam-find-file/1795/4 "2021-07-26T19:41:27Z")

</div>

Noting that there is a PR soon to be merged to update the Spacemacs org layer to use org-roam v2: [Rename commands for org-roam v2 compatibility by kappa · Pull Request #14930 · syl20bnr/spacemacs · GitHub](https://github.com/syl20bnr/spacemacs/pull/14930)
