If the destination package.json already exists and has a syntax error in it (an extra comma in my example), running yo will throw an error like that one: ...