Added nodemodules to gitingore
Added output message for failed messages