I am trying to install a package called
yaml-mode on my Emacs. Basically, a syntax highlighting for
.yaml files. My current syntax highlighters do not have support for yaml files, apparently.
Hence, I added the following in my
;; Trying to install yaml-mode (use-package yaml-mode :ensure t)
Unfortunately, after re-starting Emacs, I got the following error message:
Error (use-package): Failed to install yaml-mode: https://melpa.org/packages/yaml-mode-20220903.1821.el: Not found Disable showing Disable logging Error (use-package): Cannot load yaml-mode Disable showing Disable logging
Although it mentions not being able to use MELPA, I can see
yaml-mode package on MELPA repository here.
I would like to keep using
use-package since it helps to make my init file declarative and more reproducible. This is my whole init file, in case it is relevant.
How can I fix this?