Skip to content

Commit

Permalink
Copy notes from #183 (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndmitchell authored and cocreature committed Nov 25, 2019
1 parent 78aa974 commit f89d2d6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,19 @@ with the following content:
cradle: {cabal: {component: "mylibrary"}}
```

## ghc: readCreateProcess: does not exist

I was getting this in Windows: `ghcide.exe: ghc: readCreateProcess: does not exist (No such file or directory)`

And we figured a hack around for this:

VSCode user or workspace settings, add these:

"hic.executablePath": "stack",
"hic.arguments": "exec ghcide -- --lsp"

Since I use stack. Required if you don't have a `ghc` on your path.

## Works in `ghcide` but not my editor

Does `ghcide` alone work on the console? Did you first enter a Nix shell? Or run `stack exec ghcide`? If so, there are two options:
Expand Down

0 comments on commit f89d2d6

Please sign in to comment.