wait for npm install to finish