checking npm version instead of node version for npm install