use-package icon indicating copy to clipboard operation
use-package copied to clipboard

Packages load on Windows only on first run

Open torusJKL opened this issue 10 months ago • 0 comments

I'm trying to use Emacs 29.3 on Windows 11.

Some packages are installed and loaded without any issue on first run. But when opening Emacs a second time the packages fail to load until I delete all files from the elpa folder and restart Emacs. At which point they will work for one time.

The same configuration works without issues on Linux.

Error message:

 ■  Error (use-package): vertico/:init: Symbol’s function definition is void: vertico-mode
 ■  Error (use-package): flycheck/:init: Symbol’s function definition is void: global-flycheck-mode
 ■  Error (use-package): lorem-ipsum/:init: Symbol’s function definition is void: lorem-ipsum-use-default-bindings
 ■  Error (use-package): detached/:init: Symbol’s function definition is void: detached-init

There is nothing special in the configuration of these packages. e.g. Vertico:

  (use-package vertico
	:ensure t
	:init
	(vertico-mode))

A have many more packages but it's always the above group that fails while the other packages load fine.

torusJKL avatar Apr 02 '24 08:04 torusJKL