Flycheck: Flycheck cannot open load file: No such file or directory

Created on 1 Apr 2019  路  4Comments  路  Source: flycheck/flycheck

Hello, I'm configuring my emacs using emacs lisp, when I configured flycheck and installed, I opened ~/.emacs.d/init.el, The flycheck display a error at line 20, error say:
Cannot open load file: No such file or directory, init-utils
My emacs configuration link: Emacs configuration

Most helpful comment

It seems you are saying that Flycheck cannot find some of your init files when trying to check your main init file, even though Emacs is able to find them (because they are in load-path). If that's the case, you probably want to (setq flycheck-emacs-lisp-load-path 'inherit) see the docstring.

All 4 comments

The file actually exists at load-path, why flycheck still check it as a error?

Now emacs generate a error when I start it everytime

It seems you are saying that Flycheck cannot find some of your init files when trying to check your main init file, even though Emacs is able to find them (because they are in load-path). If that's the case, you probably want to (setq flycheck-emacs-lisp-load-path 'inherit) see the docstring.

OK,I will try it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

codesections picture codesections  路  5Comments

nordlow picture nordlow  路  5Comments

futile picture futile  路  8Comments

lunaryorn picture lunaryorn  路  4Comments

manuel-uberti picture manuel-uberti  路  5Comments