Skip to main content

I'm using emacs 29.1 on Windows. I have extracted the emacs folder to a corporate OneDrive. I have a home folder set up with emacs-29.1\share\emacs\site-lisp\site-start.elemacs-29.1\share\emacs\site-lisp\site-start.el with (setenv "HOME" "C:\path to my corp one drive \HOME\")(setenv "HOME" "C:\\path to my corp one drive \\HOME\\")

I store packages in (add-to-list 'load-path "~/.emacs.d/elpa/")(add-to-list 'load-path "~/.emacs.d/elpa/")

Unfortunately whenever I try to use use-package I get error "Error (use-package): Cannot load xyz-package"Error (use-package): Cannot load xyz-package packages tested are org-drill and org-roam.

steps taken: uninstalled and installed packages again. tried launching runemacs.exe --debug-init (no additional info except the 'Error (use-package). tried using (add-to-list 'load-path ('org-drill "~/.emacs.d/elpa/org-drill-20210427.2003/")) (require 'org-drill) instead > when evaluationg .emacs file error is: invalid function 'org-drill

  • uninstalled and installed packages again.

  • tried launching runemacs.exe --debug-init (no additional info except the Error (use-package)

  • tried using (add-to-list 'load-path ('org-drill "~/.emacs.d/elpa/org-drill-20210427.2003/"))

(require 'org-drill)

  • instead when evaluating .emacs file error is: invalid function 'org-drill

I'm using emacs 29.1 on Windows. I have extracted the emacs folder to a corporate OneDrive. I have a home folder set up with emacs-29.1\share\emacs\site-lisp\site-start.el with (setenv "HOME" "C:\path to my corp one drive \HOME\")

I store packages in (add-to-list 'load-path "~/.emacs.d/elpa/")

Unfortunately whenever I try to use use-package I get error "Error (use-package): Cannot load xyz-package" packages tested are org-drill and org-roam.

steps taken: uninstalled and installed packages again. tried launching runemacs.exe --debug-init (no additional info except the 'Error (use-package). tried using (add-to-list 'load-path ('org-drill "~/.emacs.d/elpa/org-drill-20210427.2003/")) (require 'org-drill) instead > when evaluationg .emacs file error is: invalid function 'org-drill

I'm using emacs 29.1 on Windows. I have extracted the emacs folder to a corporate OneDrive. I have a home folder set up with emacs-29.1\share\emacs\site-lisp\site-start.el with (setenv "HOME" "C:\\path to my corp one drive \\HOME\\")

I store packages in (add-to-list 'load-path "~/.emacs.d/elpa/")

Unfortunately whenever I try to use use-package I get error Error (use-package): Cannot load xyz-package packages tested are org-drill and org-roam.

steps taken:

  • uninstalled and installed packages again.

  • tried launching runemacs.exe --debug-init (no additional info except the Error (use-package)

  • tried using (add-to-list 'load-path ('org-drill "~/.emacs.d/elpa/org-drill-20210427.2003/"))

(require 'org-drill)

  • instead when evaluating .emacs file error is: invalid function 'org-drill
Source Link
Marek
  • 13
  • 3

What steps should I take to troubleshoot use-package not loading packages

I'm using emacs 29.1 on Windows. I have extracted the emacs folder to a corporate OneDrive. I have a home folder set up with emacs-29.1\share\emacs\site-lisp\site-start.el with (setenv "HOME" "C:\path to my corp one drive \HOME\")

I store packages in (add-to-list 'load-path "~/.emacs.d/elpa/")

Unfortunately whenever I try to use use-package I get error "Error (use-package): Cannot load xyz-package" packages tested are org-drill and org-roam.

steps taken: uninstalled and installed packages again. tried launching runemacs.exe --debug-init (no additional info except the 'Error (use-package). tried using (add-to-list 'load-path ('org-drill "~/.emacs.d/elpa/org-drill-20210427.2003/")) (require 'org-drill) instead > when evaluationg .emacs file error is: invalid function 'org-drill