rainstormstudio/nerd-icons.el

Emacs cannot find "./data/nerd-icons-data-ipsicon"

Closed this issue · 2 comments

I'm not sure this is a bug. However ever since I added the following code to my config, everytime I start emacs I get the following error:

Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or directory" "./data/nerd-icons-data-ipsicon")
  require(nerd-icons-data-ipsicon "./data/nerd-icons-data-ipsicon")

The relevant section of my config as below:

;; Nerd Icons
(use-package nerd-icons
  :custom
  ;; The Nerd Font you want to use in GUI
  ;; "Symbols Nerd Font Mono" is the default and is recommended
  ;; but you can use any other Nerd Font if you want
  (nerd-icons-font-family "JetBrainsMono Nerd Font"))

(use-package nerd-icons-completion
  :after nerd-icons
  :config
  (nerd-icons-completion-mode))

(use-package treemacs-nerd-icons
  :after nerd-icons
  :config
  (treemacs-load-theme "nerd-icons"))

;; All the icons
(use-package all-the-icons
  :if (display-graphic-p)

  :init (unless (find-font (font-spec :name "all-the-icons"))
          (all-the-icons-install-fonts t)))

could you please try deleting the nerd-icons.el folder and reinstall the package?

Thanks. That seems to have done the trick. Warning has disappered.