Closed Emiluren closed 7 years ago
Ok, through this https://github.com/reflex-frp/reflex/issues/84 I got the idea to try running on the jsaddle branch instead of develop but that started compiling ghcjs from source and I ran out of disk space. I decided to just work from my desktop computer instead.
Running try-reflex seems to work fine until the shell appears and it's time to run ghc. I get this:
[nix-shell:~/Programmering/haskell/reflex-platform]$ ghc /home/emil/.stack/programs/x86_64-linux/ghc-8.0.2/lib/ghc-8.0.2/package.conf.d/package.cache: GHC.PackageDb.readPackageDb: inappropriate type (not enough bytes)
From a lot of googling I think I saw something about running the wrong version of ghc or something like that. I'm running Ubuntu 16.04 with Zsh as my default shell. I tried running it on my desktop computer which has a similar configuration and it works fine there. I have no idea why ghc is trying to access files in the stack folder since the sandbox is running its own version of ghc (right?). I wondered if it could have something to do with my PATH, since I read something about a path problem with Linux Mint, but I tried setting my path to the same as the one on my desktop but it did not change anything.