Add error handling to display relevant messages when something goes wrong. Use `chalk` to highlight messages.