Hello Amber,
can you check what "ui5" property in your Chart.view.js file cannot be accessed on which object (which is undefined).
I assume that you have tested your application starting with an index.html. In the FLP the component.js of the file is used. Maybe you have included some additional specific js functionaliy via your index.html which is then not loaded.
Regards,
Florian