App must be defined before it is configured.

In response to the error message:  cannot read property configure of undefined.