Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Gracefully handle initial npm errors #1505
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.
referenced this issue
Feb 9, 2017
@chitchu https://github.com/facebookincubator/create-react-app/blob/master/packages/create-react-app/index.js#L173-L195 should be a good place to start.