TypeError: undefined is not a function (evaluating ‘e(“”)’)