Check for the required env variables and throw an error, and a notice in the terminal, if they're missing.