add Promise as a component dependency