TGViewer
/r/emacs /r/emacs @r_emacs · 79 subscribers
Post #28612 10
doom-sync errors (Emacs 31)

Just updated my system emacs from 30.2 to 31.1.

Emacs (which was working fine with my Doom setup) boots with an warning (which I can't copy) - something like

...doom hasn't been initialized yet ...



and an error

... void variable doom-modules


Ran a doom upgrade and doom sync and the output of that is:

> Synchronizing "_default" profile...
! Emacs version has changed since last sync (from 30.2 to 31.1)
Installed packages must be rebuilt. Do so now? (y or n) y
x There was an unexpected runtime error
Message: Could not find package let-completion. Updating recipe repositories: (org-elpa melpa nongnu-elpa gnu-elpa-mirror el-get emacsmirror-mirror) with ‘straight-pull-recipe-repositories’ may fix this


I can't seem to run the straight command from within broken emacs, so I'm a bit stuck here.

I'd be grateful for any pointers

https://redd.it/1wse3ja
@r_emacs
Reddit From the emacs community on Reddit Explore this post and more from the emacs community
More from @r_emacs
  1. Sep 29, 2026Getting outlook calendars into emacs There were a few recent posts on this and I wanted to…
  2. Sep 29, 2026Which-key ability to override the command descriptions? Because of how some packages prefi…
  3. Sep 29, 2026Does which-key have the option to list long commands completely instead of truncating them…
  4. Sep 29, 2026package-vc vs elapaca or straight. I have been using elpaca for the last year across diffe…
  5. Sep 29, 2026Question for Emacs + Evil Users. I've been using Emacs with vanilla keybindings, and latel…
  6. Sep 29, 2026Background color of active regions in code with AucTeX preview I recently tried the new au…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →