bbatsov / projectile

Project Interaction Library for Emacs
https://docs.projectile.mx
GNU General Public License v3.0
4k stars 583 forks source link

"Wrong type argument: hash-table-p, nil" when running projectile-find-file with enable-caching on #1900

Open elondres-mim opened 2 months ago

elondres-mim commented 2 months ago

Expected behavior

projectile-find-file works

Actual behavior

Wrong type argument: hash-table-p, nil printed in minibuffer

Steps to reproduce the problem

I have the following use-package setup:

(use-package projectile
  :bind-keymap ("C-c p" . projectile-command-map)
  :config (setq projectile-enable-caching t))

When I navigate to a project (git repo directory root) and enter C-c p f I get the error message.

Environment & Version information

Projectile version information

20240814.1854

Emacs version

GNU Emacs 30.0.60

Operating system

x86_64-apple-darwin23.5.0 (macOS Sonoma 14.6.1)