use npm prior to switching node versions