Errors sometimes may seem confusing, I have not encountered this kind of error till a day came while I was working with my react native app.
undefined is not an object (evaluating 'react_1["default"].createElement'
Here is the solution, Your just forgot to do this
Import React from 'react'
import * as React from 'react'
and that solves it.