add more logging
fix compilation against latest TC
better logging for not found Node.js/NPM
polish code, fixed #3
check npm ERR! and report it as error. Fixed #5