-
Notifications
You must be signed in to change notification settings - Fork 379
Closed
Description
Repro:
stack new testsod yesod-simple;cd testsodstack build --fast;stack build yesod-binif necessarystack exec -- yesod devel- Navigate
http://localhost:3000/
Expected: regular behavior — a generated project shows up
Instead: the web page is permanenly stuck in "The application isn’t built" mode.
Here's output of the yesod devel command:
develop7@t-rex ~/t/testsod> stack exec -- yesod devel
Yesod devel server. Enter 'quit' or hit Ctrl-C to quit.
Application can be accessed at:
http://localhost:3000
https://localhost:3443
If you wish to test https capabilities, you should set the following variable:
export APPROOT=https://localhost:3443
ExitSuccess
Type help for available commands. Press enter to force a rebuild.
Starting devel application
Devel application launched: http://localhost:3000
devel.hs: Network.Socket.getAddrInfo: does not exist (Name or service not known)
Note the latest line, devel.hs: Network.Socket.getAddrInfo: does not exist (Name or service not known). I was trying to dig into this by catching the exception from GHCi, but the trace was less than useful.
UPD: I've ran into this before while running stackage-server with yesod devel, symptoms were exactly the same. But only in Linux (openSUSE Tumbleweed, for the record). It wasn't the case for Mac OS X 10.13.2.
Metadata
Metadata
Assignees
Labels
No labels