-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intero fails to load and gives no error message #156
Comments
I am getting the same error! @mgajda Were you able to get intero to work with Neovim? I am very new to Haskell and its toolchain, so I am not sure how to prevent intero from "being taken from ~/.local/bin/intero". The way your post is worded makes me think that there is a way to get it to work. Thanks! |
I have the similar issues. If I simply
If I
the first time I try to open it. Any subsequent So, should |
@jmcclell I have the same issue and was looking for clues here. I don't have a solution but I am pretty sure you are not supposed to install intero or have it existing anywhere on your normal path. What I remember is that when you run this plugin for the first time in a project, it will compile intero specifically for the project. In the error it can't find intero on the path, but the first items on the path listed in the error are inside the Personally, I wasn't going to dig into it too much more. I want to try using this plugin using plain ghci as the backend instead of intero, and failing that probably move to a plain ghci/ghcid workflow (which the author of this plugin and others recommend for simplicity). |
If you guys are on macOS, the Haskell compiler config is busted, resulting in an incorrect install. Using stack version 1.9 fixed the problem for me, and this plugin started working out of the box. More details here: |
Ah! Thank you @ain2108! I'm still pretty new to the whole ecosystem so when things break I'm a bit left out to dry. Really appreciate the tip. |
I'm not running macOS but I get the same thing as @jmcclell in #156 (comment) I tried removing |
This time I managed to first run |
So I removed everything Stack-related, removed and my
I have no clue why this doesn't work. It looks for Intero in my
|
@Quintasan Looks like you do not have |
@mgajda See what I have written about, it's installed but to a different directory (I did not install it manually, I just opened up my Haskell file in vim) and neovim is looking in a different directory. I do not modify my PATH. |
Experienced the same thing. What worked on my end: stack build intero --copy-compiler-tool from the stack project root.
It seems that the |
Intero fails to start due to being taken from
~/.local/bin/intero
or due to having multiple executables in the package, but it gives no error message. Any attempt to use intero command gives message 'Intero is still compilingor worse
Intero is still starting`.Can we have user variable that keeps intero compilation/startup log, and shows when 'still compiling' happens?
Current commit is
02289201c9b8316169fe5d54cf9c95fe6e563e7e
.NeoVim version is:
The text was updated successfully, but these errors were encountered: