<div dir="ltr">Can you try upgrading to yesod-bin-1.5.0? Some of the issues with the old yesod-bin are documented at:<div><br></div><div><a href="http://www.yesodweb.com/blog/2016/11/new-yesod-devel-server">http://www.yesodweb.com/blog/2016/11/new-yesod-devel-server</a><br></div><div><br></div><div>Looking at that error message, I'm going to take a (very bad) guess and say you're using GHC 8. If that's the case, yesod-bin 1.4 is definitely _not_ compatible with it.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 16, 2017 at 4:34 AM, Geraldus <span dir="ltr"><<a href="mailto:heraldhoi@gmail.com" target="_blank">heraldhoi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi folks!</div><div><br></div><div>I haven't used Yesod quite a while; now when I'm trying to run development</div><div>server of freshly scaffolded PostgreSQL stack's template I see this error</div><div>message:</div><div><br></div><div>Rebuilding application... (using cabal)</div><div>Starting development server...</div><div><b><command line>: cannot satisfy -package-key main</b></div><div> (use -v for more information)</div><div>Exit code: ExitFailure 1</div><div><br></div><div><br></div><div>I've found several issues on the web, however I wasn't able to resolve this.</div><div><br></div><div>I've tried to upgrade my Yesod binary first via `stack install yesod-bin`. Now</div><div>I have:</div><div><br></div><div>stack exec yesod version</div><div><b>yesod-bin version: 1.4.18.7</b></div><div><br></div><div>stack --version</div><div><b>Version 1.1.2 x86_64 hpack-0.14.0</b></div><div><br></div><div>I also tried to comment out the test suite section in cabal file, but devel</div><div>server still fails to run.</div><div><br></div><div>Can someone clarify how to deal with this?</div></div>
<br>______________________________<wbr>_________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/haskell-<wbr>cafe</a><br>
Only members subscribed via the mailman list are allowed to post.<br></blockquote></div><br></div>