Created by: chitchu
As per #1505 (closed)
Currently, when npm fails for the first time, you end up with an empty project that doesn't work.
We should delete the broken files we added (or the whole folder if we created it), and print a message explaining the problem is with npm, as well as the underlying message.
- Print out message when problem occurs
- Delete project folder on errors