Simplify promise usage
Fix error handling when loading a component with unknown dependency