emacs-lsp / lsp-ui

UI integrations for lsp-mode
https://emacs-lsp.github.io/lsp-ui
GNU General Public License v3.0
1.03k stars 139 forks source link

Cannot open load file: No such file or directory, flycheck #559

Closed timo-a closed 3 years ago

timo-a commented 3 years ago

I just installed lsp-ui (after installing only lsp-mode and lsp-haskell) and *Compile-Log* says:

^L
Compiling file /home/[...]/.emacs.d/elpa/lsp-ui-20210115.1200/lsp-ui-flycheck.el at Mon Jan 18 00:10:44 2021
lsp-ui-flycheck.el:27:1:Error: Cannot open load file: No such file or directory, flycheck

I have indeed not installed flycheck before, but as a (inexperienced) user I would expect flycheck to be installed automatically if it is a dependency. (And if it isn't a dependency or optional, I would expect just a warning not an error)

jcs090218 commented 3 years ago

This issue is duplicate to #431, #555, #558.

The current suggested solution, see #514.

jcs090218 commented 3 years ago

I have applied fix in #560.

Feel free to reopen this if the issue remains. Thanks!