check for npm, and install if not found