(Haskell初心者はこちら)
HaskForce プラグインを IntelliJ IDEA に構成しようとしており、「GHC Modi」で「legacy-interactive」を使用して「ghc-mod」を構成していますFlags
。根本的な問題は cabal のバージョンに関連しているようですが、Haskell シンボルでオートコンプリートを試みると、次のようになります。
ghc-modi error
Unable to parse problems from ghc-modi: cabal-helper-wrapper.exe: ghc: readCreateProcess: does not exist (No such file or directory)
ghc-mod: readCreateProcess: C:\ACME\projects\htest\.cabal-sandbox\cabal-helper-0.5.3.0-553kah86RQN6BuDX6XLBiX\cabal-helper-wrapper.exe "C:\\ACME\\projects\\htest" "C:\\ACME\\projects\\htest\\dist" (exit 1): failed
この最後のコマンド ( C:\ACME\projects\htest\.cabal-sandbox\cabal-helper-0.5.3.0-553kah86RQN6BuDX6XLBiX\cabal-helper-wrapper.exe "C:\\ACME\\projects\\htest" "C:\\ACME\\projects\\htest\\dist"
) を実行すると、cabal 1.18 のインストールが試行されます。
cabal-helper-wrapper.exe: Installing Cabal version 1.18.1.3 failed.
私はすでにバージョン 1.22 の cabal を持っています (最近 8 月にリリースされた Haskell Platform v7.10.2-a を介してインストールされています)。
この問題を回避する方法はありますか (つまり、まだghc-mod
/を使用していますghc-modi
か)?