async function initAppService() {
    debug('Begin: App Service');
    const appService = require('./frontend/services/apps');
    await appService.init();
}
The app service cannot be loaded unless the frontend is enabled
In future, the logic to determine whether this should be loaded should be in the service loader