better error handling and remove grunt from node_modules