Closed snthibaud closed 8 years ago
What version of ghc-mod do you use?
4.1.2-2, the default in Debian Jessie
Could you run ghc-mod version
and post its output verbatim?
Thanks for the quick support! The output is:
ghc-mod version 4.1.2 compiled by GHC 7.6.3
Bear in mind though, that ghc-mod v4.* is deprecated, so you'd be better off updating ghc-mod installation (e.g. with cabal install
). If not an option, I'll try to accommodate within reason, but expect some bugs.
Okay, so 1.9.5 should fix this particular issue. But I expect that you will run into more. Unfortunately, I can't easily test with 4.x, so I will have to rely on user reports.
Ok... I'm trying to install it with stack... I'm not sure how to install something system-wide with stack, though...
Ok, thanks for the quick support! I'll try updating the package, then!
You don't really have to install anything system-wide, unless you need multiple users to have the same work environment. Stack will install packages into home directory under $HOME/.local/bin
by default, at which point those could be easily run from there.
Ok! I did that and it worked. I don't get the error when starting anymore (even with 1.9.4). the strange thing is that ghc-mod version still indicates 4.1.2, but I guess atom finds the other one?
Thank you again!
What Atom finds is entirely dependent on environment, or more precisely PATH environment variable. You can configure haskell-ghc-mod package to find it regardless, as outlined in ide-haskell README and here.
This error popped up when starting atom
Atom Version: 1.5.3 System: Debian GNU/Linux Thrown From: haskell-ghc-mod package, v1.9.4
Stack Trace
Uncaught TypeError: Cannot read property 'slice' of null
Commands
Config
Installed Packages