Closed alkispower closed 6 years ago
It would appear you're missing binary dependencies. Please refer to https://atom-haskell.github.io/installation/installing-binary-dependencies/
In particular, you need to build ghc-mod
.
TL;DR: if using Stack, run stack build ghc-mod
in your project root. If using Cabal, create sandbox, install ghc-mod there and add sandbox's bin
directory to 'Additional Path Directories'.
i dont know what stack is or cabal , i dont know what sandbox is can you explain in more detail please? i put on terminal the following command: apm install language-haskell ide-haskell ide-haskell-cabal haskell-ghc-mod autocomplete-haskell then i got these: Installing language-haskell to /root/.atom/packages ✓ Installing ide-haskell to /root/.atom/packages ✓ Installing ide-haskell-cabal to /root/.atom/packages ✓ Installing haskell-ghc-mod to /root/.atom/packages ✓ Installing autocomplete-haskell to /root/.atom/packages ✓
Atom-Haskell packages have binary dependencies that can not be installed with apm
. Follow the link provided in my previous comment, then read carefully. Especially warnings. The guide assumes you have at least a basic idea of what you're doing, hence minimal knowledge on the Haskell ecosystem is required. You can start off with https://www.haskell.org/downloads (which you need to get compiler and toolchain anyway)
Closing due to inactivity.
[Enter steps to reproduce:]
Atom: 1.21.0 x64 Electron: 1.6.9 OS: Kali GNU/Linux Thrown From: haskell-ghc-mod package 2.1.1 User: root
Stack Trace
Haskell-ghc-mod: ghc-mod failed to launch. It is probably missing or misconfigured. ENOENT
Commands
Non-Core Packages