Closed Enrico68 closed 2 weeks ago
You should never edit your init.el at least in Spacemacs. The issue you are encountering is that the package is most likely not yet loaded via the layer system therefore use-package cannot load it.
Instead you should edit your dotfile and add your settings to your user-config
In your case it would look like:
(defun dotspacemacs/user-config ()
"Configuration for user code:
This function is called at the very end of Spacemacs startup, after layer
configuration.
Put your configuration code here, except for variables that should be set
before packages are loaded."
(with-eval-after-load 'org-roam
(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 t)
))
Please let me know if this solved your issue. Btw, I have another issue with org roam and would be happy for an example file, would you mind providing one?
I am rather working with GTD to be honest.
Issue Description
Description of the Problem
I am encountering an issue where I am unable to load the
org-roam-ui
package in Spacemacs. I have activated the necessary Org-related packages in my.spacemacs
configuration file, but when I try to call theuse-package
fororg-roam-ui
, I receive an error message.Steps to Reproduce
.spacemacsl
:use-package
configuration fororg-roam-ui
in.init.el
as follows:Expected Behavior
The
org-roam-ui
package should load successfully without any errors, allowing its functionalities to be used as specified in the configuration.Observed Behavior
Instead, the following error message is displayed:
Additional Information
Request for Help
Please advise on how I may resolve this error and correctly load the
org-roam-ui
package in my Spacemacs setup.