org-roam-ui
org-roam-ui copied to clipboard
[BUG] Cannot open load file: No such file or directory, org-roam-dailies
Describe the bug
org-roam-dailies is not available as dependency in latest org-roam, error origin here.
To Reproduce
- org-roam from master
- org-roam-ui from master
Loading it in Spacemacs layer via use-package like so
(defun my-org-roam/init-org-roam-ui ()
(use-package org-roam-ui
:after org-roam
:config
(setq org-roam-ui-sync-theme t
org-roam-ui-follow t
org-roam-ui-update-on-save t
org-roam-ui-open-on-start nil)))
Expected behavior
org-roam-ui can be loaded.
Ah thanks for letting me know! I will remove that requirement.
Hmm I'm actually not sure what you mean with "is not available as a dependency in the latest org-roam": it seems to me to still be available https://github.com/org-roam/org-roam/blob/66e10df943e49ca45e39788627c67e3506c84bfb/extensions/org-roam-dailies.el
Not requiring it is leading to some problems, so I will add it back for the time being, could you let me know if it breaks again?
Sure, will test it again then.
Thanks!
I looked into this and found the reason for the error. I am loading org-roam from Github with the Spacemacs layer system. In the layer in question, the fetcher needs to know that org-roam-dailies.el lives in the extensions subdirectory upstream.
So something like:
(defconst my-org-roam-packages
'((org-roam :location
(recipe :fetcher github :repo "org-roam/org-roam" :files (:defaults "extensions/org-roam-dailies.el")))
(org-roam-ui :location
(recipe :fetcher github :repo "org-roam/org-roam-ui"))))
So this is resolved for me. I'll leave it up to you if you want to document this somewhere, otherwise can be closed from my side.
I can confirm I am still getting this error when compiling org-roam-ui
same problem here :(