on master help sign in
Copy notes from #183 (#209)
commitf89d2d60fac7ac855faf8f90da8caa10fb7eff7b authorNeil Mitchell <ndmitchell@gmail.com> dateMon 25 Nov 2019, 08:00 (7 years ago) parent78aa974
1 file changed+13
docs/Setup.md+13
docs/Setup.md+13
@@ -54,6 +54,19 @@ with the following content:
5454cradle: {cabal: {component: "mylibrary"}}
5555```
5656
57+## ghc: readCreateProcess: does not exist
58+
59+I was getting this in Windows: `ghcide.exe: ghc: readCreateProcess: does not exist (No such file or directory)`
60+
61+And we figured a hack around for this:
62+
63+VSCode user or workspace settings, add these:
64+
65+ "hic.executablePath": "stack",
66+ "hic.arguments": "exec ghcide -- --lsp"
67+
68+Since I use stack. Required if you don't have a `ghc` on your path.
69+
5770## Works in `ghcide` but not my editor
5871
5972Does `ghcide` alone work on the console? Did you first enter a Nix shell? Or run `stack exec ghcide`? If so, there are two options: