wasp-lang / wasp

The fastest way to develop full-stack web apps with React & Node.js.
https://wasp-lang.dev
MIT License
13.64k stars 1.18k forks source link

Stan panic, hie file versions mismatch. #512

Open philderbeast opened 2 years ago

philderbeast commented 2 years ago

Describe the bug

> cd waspc
> ./run stan
...
stan: stan: panic! (the 'impossible' happened)
  (GHC version 8.10.7:
    readHieFile: hie file versions don't match for file: .hie/Wasp/Parser/Common.hie
        Expected 8107 but got 9001

Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug

I found this while testing #453.

Martinsos commented 2 years ago

Hm interesting, I haven't had this happen to me!

Might be connected with this issue: https://github.com/kowainik/stan/issues/178 ?

I don't feel I understand the situation enough to open GHC bugs, I have to admit. What are your thoughts on this? Did you manage to fix this somehow, maybe by removing that .hie file, or running cabal clean?