Closed happygirlzt closed 6 years ago
You should really use code environment for long logs...
Issue itself seems to be the same as #155. It should be fixed by ghc-mod-5.6.0.0, but since you're using stack's lts snapshot, it's probably not in there yet. By the way, I thought 6.14 used ghc-7.10.3 by default?
Anyway, you can install ghc-mod-5.6.0.0 with stack build ghc-mod-5.6.0.0 cabal-helper-0.7.2.0
in stack project directory, which should build that in .stack-work
. Please check if it helps.
Sorry, that was my first time to add a issue...
Firstly, thank you very much...
Secondly, I think I encountered anthor problem. When I tried to use stack
, it often shows the following information:
"GHC version mismatched, found 8.0.1(x86_64), but expected version 7.10.3...Try running stack setup"
I searched the Internet and changed the stack.yaml. I changed theresolver: lts-6.14
into resolver: nightly-2016-09-01
then, I will get the following error messages:
After installing Cabal, the package id could't be found(via ghc-pkg describe Cabal). This shouldn't happen, please report as a bug
Sign...I think the greatest problem is that I am not familiar with Haskell...Maybe, only I learn Haskell more can I really understand these operations.
Anyway, thanks a lot. : )
How did you install GHC anyway? When using stack it's advised to use it to install relevant GHC version (using stack setup
inside a project -- or optionally specifying a resolver, e.g. stack setup --resolver=nightly
)