added logging to npm install