Next time, when you see this type of error, run that command. So make sure you read the error message, then only you know which command to fix that type of error.