yesodweb/yesod — Issue #284: port missing even though it's there
Author: scan
Created: 2012-03-01 16:21:06+00:00
State: open

I wanted to start developing today, but I get this error:

```
fluttershy:~/Haskell/ponyfolder$ yesod devel
Yesod devel server. Press ENTER to quit
Resolving dependencies...
Configuring ponyfolder-0.0.0...
Rebuilding application...
Preprocessing library ponyfolder-0.0.0...
Preprocessing executables for ponyfolder-0.0.0...
Building ponyfolder-0.0.0...
Registering ponyfolder-0.0.0...
Starting development server: runghc -package-confdist/package.conf.inplace devel.hs
Starting devel application
Devel application launched, listening on port 8080
devel.hs: user error (key "port" not present)
Exit code: ExitFailure 1
```

This error persists after re-building the entire `cabal` and `cabal-dev`. My `settings.yml`:

```
Default: &defaults
host: "localhost"
port: 8080
copyright: Insert copyright statement here
# analytics:

Development:
<<: *defaults

Testing:
<<: *defaults

Staging:
<<: *defaults

Production:
<<: *defaults
```

The port is even properly read, as the application reports to start on port 8080, whereas 3000 is the default.