check for npm errors
create template directory if it doesn't exist
specify bower directory locally