Skip to content
This repository was archived by the owner on Aug 23, 2025. It is now read-only.
This repository was archived by the owner on Aug 23, 2025. It is now read-only.

Packages load on Windows only on first run #1076

@torusJKL

Description

@torusJKL

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions