haskell / haskell/haskell-mode
Interactive mode cannot work for stack ghci
- Dominant language
- Emacs Lisp
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 2
Description
HI, appreciate you guys notice this issue,
My working environment is: WIndows 10 64 bit, emacs 24.5.1
My problem is that when I start interactive mode in eamcs, it would say:
```
"The Haskell process `haskell` has died."
```
And the process log shows:
```
("Starting inferior stack GHCi process using stack" "haskell" nil "stack" "ghci" "--ghc-options=-ferror-spans")
-> Prelude.putStrLn ""
:set -v1
:set +c
-> :set prompt "\4"
-> :set prompt2 "λ| "
<- Run from outside a project, using implicit global project config
<- Error parsing targets: The specified targets matched no packages.
Perhaps you need to run 'stack init'?
Warning: build failed, but optimistically launching GHCi anyway
<- Configuring GHCi with the following packages:
GHCi, version 7.10.3: http://www.haskell.org/ghc/ :? for help
<- Ok, modules loaded: none.
Prelude>
Prelude> Prelude> unknown option: 'c'
Prelude> Leaving GHCi.
Event: "finished"
Process reset.
```
**May I ask how to solve it? Thanks!**
Contributor guide
Assessment
This issue has not been assessed yet.