mebassett / servant-db-elm-auth-example

4 stars 2 forks source link

A-servant-start install #1

Open njsfield opened 6 years ago

njsfield commented 6 years ago

Thanks for taking the time to create these! I'm trying to build the first project, and have run into a missing package problem.

image

I added transformers-base to library dependencies in A-servant-stack.cabal; image

and the build succeeds. I think that is the right fix but I'm not sure!

mebassett commented 6 years ago

thanks @njsfield - curiously I hadn't needed transformers-base on my system. I don't really understand cabal and stack. :-/

trippingtarballs commented 6 years ago

@njsfield, are you still having trouble with this? I updated the README.md of A-servant-start last night. I believe there was a missing step in getting started, from;

$ stack build
$ stack exec exe

... to;

$ stack setup
$ stack build
$ stack exec exe

I too am no stack ninja 😞 (not yet anyway 😉), so I don't know if this will help or not.

mebassett commented 6 years ago

can confirm that there should be a stack setup there.