I have a running Doom Emacs configuration on my Linux machine.
On my Windows machine I applied roughly the same config, which works for the most part.
But whenever I try to install packages using install-package RET some-package-name RET the process does not terminate and emacs freezes.
Waiting for some time fills up my ram.
The last message is Generating autoloads for ~/.emacs.d/.local/elpa/..., where ... is an .el file, sometimes it is the package I try to install, other times it is some other package.
So far, I had the same problem whatever package I tried to install.
Running doom doctor reveals no problems.
Doom Emacs does not use the traditional
install-package, but instead comes with its own package manager.If you go to your Emacs config directory, then you should see a
packages.elfile and aconfig.elfile.The
package.elspecifies which packages to load, for instanceYou then provide package-specific configuration in your
config.el, for instance:You need to run
doom synceach time you made any modifications there.Check out this section it the Getting Started Guide for more details: https://github.com/doomemacs/doomemacs/blob/master/docs/getting_started.org#package-management
There is no
~/.emacs.d/.local/elpa/...directory in Doom Emacs and according to the documentation linked above, manually installed packages will be forgotten when you restart Emacs and uninstalled next time you rundoom syncordoom purge.