Closed redgoalsuk closed 4 years ago
Hi!
From the first look the problem is that you are missing some polyfills for Babel. Meaning that Tizen TV you have doesn't support "Object.values" method and Babel is not transpiling it. Source code doesn't seem to be an issue here, and we don't explicitly use "Object.values" in this lib. I would start with looking into Babel presets/plugins you use to see what causing Object.values to be not transpiled properly. To isolate an issue you can even create a single file app where you call "Object.values" on some object.
Hi
Thanks for the speedy response!
On your feedback I added this to the top of my import statements and it is now working on the Tizen TV
import "@babel/polyfill"
Many thanks
Glad it worked :)
Hi all, i dowlod the example template and with npm run dist in tizen tv doesnt work.... have you a workaround?
Hi
I am trying to get the Testbed example running on a Tizen TV but I cannot seem to get it running at all, I see an error in the JS console "Uncaught TypeError: Object.values is not a function".
This is my App.js which is more or less the same as the example at https://raw.githubusercontent.com/NoriginMedia/react-spatial-navigation/master/src/App.js
Any help or advice regarding this?