Open AaronM04 opened 8 years ago
hledger-web's use of template haskell requires that four subdirectories are present in the current directory when you load it in GHCI: config, messages, templates and static. So you can either cd into the hledger-web package directory first, or you can symlink them in the top directory (for d in config messages templates static; do ln -s hledger-web/$d; done
). Then stack ghci hledger-web
or similar.
http://hledger.org/developer-guide.html#use-the-repl-ghci mentions this, but seems in need of update.
PS a patch, or better idea for how to make this more discoverable, welcome..
Hi, I'm trying to get hledger-web working and I'm probably doing something wrong here. Any help would be much appreciated. Thanks! :)
I should add that the reason why I am using docker is because my Haskell installation seems to be broken on this system.
Pulling the Stack docker image
Building hledger
Attempting to get a REPL for hledger-web - ERROR