I faced a problem while establishing a navigation between views, so have you an idea about the meaning of that sentence :
i is not a constructor
what is "i" exactly ?
check location of controller and controller name in both view. xml and controller.js.
Example:
In view. xml
controller Name="logicalName.controller.ControllerName"
In controller. js The place where you are defining controller name
return Controller. extend("logicalName.controller.ControllerName", { }) ;