improved error messages for missing settings, composer.json