I haven't done react yet but I have played with NPM + Angular and bit of node so can read some of it, it also the errors look very similar to python. From what i'm reading at least you have a type error, meaning that you've mistyped a word (or if its tutorial you're following) might be out of date as the syntax might of been updated since then.
its the line below where the issue is on, and I think because of that lines wrong, that's why then its reading loading issues below it. Python / JavaScript are very similar.
var doExit = npm.config.loaded ? npm.config.set<'_exit'> : true
Here's the https://docs.npmjs.com/cli/config for the NPM configuration, not sure if it might help but I would say if you're following a tutorial and it is out of date, always refer back to the original documentation, the ammount of times I've been caught out on this is ridiculous as people don't update the tutorials.
Hope it helps, let me know if you manage to sort it out :)
p.s next time, just with the errors, if you can insert it as the code instead of an image because I couldn't see the code in the image on my laptop and had to use my mobile instead :) At least with code it kind of stays the correct size haha