give npm some nice error messages too