When running a dev/build for the first time, environment should be set to 'dev' or it won't run. Setting this in the example gives guidance to someone building a site for the first time (or if it's been ages!)
https://github.com/silverstripe/silverstripe-framework/issues/8598