atsky / haskell-idea-plugin

IntelliJ IDEA plugin for Haskell
Apache License 2.0
201 stars 21 forks source link

cabal-helper-wrapper.exe: ghc-pkg: readProcess: does not exist (No such file or directory) #96

Open freeman42x opened 9 years ago

freeman42x commented 9 years ago

When using Ctrl + Shift + T the following error is printed in GhcMod window:

ghc-mod: readProcess: C:\Haskell\Packages\ghc-mod\.cabal-sandbox\cabal-helper-0.3.5.0\cabal-helper-wrapper.exe "D:\\Projects\\Haskell\\HaskellIdeaPluginHelloWorld\\dist" "entrypoints" "source-dirs" "ghc-options" "ghc-src-options" "ghc-pkg-options" "ghc-merged-pkg-options" "ghc-lang-options" "--with-ghc=ghc" "--with-ghc-pkg=ghc-pkg" "--with-cabal=cabal" (exit 1): failed
cabal-helper-wrapper.exe: ghc-pkg: readProcess: does not exist (No such file or directory)
EXCEPTION: types:
           readProcess: C:\Haskell\Packages\ghc-mod\.cabal-sandbox\cabal-helper-0.3.5.0\cabal-helper-wrapper.exe "D:\\Projects\\Haskell\\HaskellIdeaPluginHelloWorld\\dist" "entrypoints" "source-dirs" "ghc-options" "ghc-src-options" "ghc-pkg-options" "ghc-merged-pkg-options" "ghc-lang-options" "--with-ghc=ghc" "--with-ghc-pkg=ghc-pkg" "--with-cabal=cabal" (exit 1): failed
OK

Environment:

haskell idea plugin 0.5.1
ghc-mod built from master https://github.com/kazu-yamamoto/ghc-mod/commit/bfa0b965ee3497f5f41d261072dc6bae0af00a06
cabal-install version 1.22.2.0
using version 1.22.2.0 of the Cabal library
The Glorious Glasgow Haskell Compilation System, version 7.8.4