Comments (4)
Rendering issue and Console error
my lg webos device version was 5.30.4 so I have installed enact js libraries with the 3.2.5 version according to the official documentation enact 3.2.5 version is compatible with webOS 5
while integrating video player with enact framework, after launching the app on the LG WebOS device of version 5 with enactjs framework of 3.2.5 version it is giving me this error Uncaught TypeError: (0 , r.forwardCustom) is not a function and while launching the app on tv, it is splashing the screen and it goes in blank and throwing this error
Environment
Chromium Version 68.0.3440.0 (Developer Build) (32-bit) npm version: v10.1.0 node version: v20.7.0
Enact version: LG WebOS Device version: 05.30.40 Enact cli version: 6.0.2 SDK version: "4.9.0" "@enact/core": "^3.2.5", "@enact/i18n": "^3.2.5", "@enact/spotlight": "^3.2.5", "@enact/ui": "^3.2.5", "@enact/webos": "^3.2.5", "ilib": "npm:ilib-webos@^14.18.0-webos1, "@enact/sandstone": "^2.7.10",
Error: Uncaught TypeError: (0 , r.forwardCustom) is not a function
after changing the versions package.json is updated to the latest compatible versions with npm update --save it is updated packages like this "dependencies": {
"@enact/core": "^3.5.0",
"@enact/i18n": "^3.5.0",
"@enact/sandstone": "^2.7.10",
"@enact/spotlight": "^3.5.0",
"@enact/ui": "^3.5.0",
"@enact/webos": "^3.5.0",
"ilib": "^14.4.0",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"web-vitals": "^3.5.0"
}, now after making all these changes i have launched the app on lg webos device now it is throwing a different error
from enact.
@BhanuMathurthi, It looks like there is a version mismatching issue. @enact/sandstone 2.7.10 version needs to be matched with enact version 4. If you use enact 3.5.0 version, @enact/sandstone 1.5.1 version will be matched. Thank you.
from enact.
@BhanuMathurthi I highly recommend using the latest Enact and Sandstone version. As you already pointed out the latest Sandstone, you also need to point out the latest Enact. Would you please refer to the migration guide? Enact 3.X is quite old
https://enactjs.com/docs/developer-guide/migration/enact/migrating-to-enact-4/
https://enactjs.com/docs/developer-guide/migration/enact/migrating-to-enact-4.5/
from enact.
Close this issue as no further discussion. Please create an issue again if necessary.
from enact.
Related Issues (20)
- How to update to enact 2? HOT 2
- How to serve static file? HOT 3
- How to include external scripts to the application HOT 4
- Enact Moonstone video player not working on Tizen Tv(5.0) HOT 5
- Inconsistent behavior HOT 9
- Unknown browser query `dead` HOT 3
- onToggle type not defined in CheckboxItem HOT 2
- Adding actual icons to the Icon documentation HOT 2
- Adding animation flag for the scroller / vertualList HOT 1
- viturallist navigation issue HOT 1
- Standalone uiLibrary in an external project HOT 4
- Compatibility with expressJS, reactJS and reactNative HOT 2
- Running test from any of the enact samples shows error HOT 2
- a vulnerability CVE-2020-15168 is introduced in @enact/core HOT 1
- Spotlight focus behaving differently depending on screen resolution. HOT 5
- how make a build that have filename with hash ? HOT 1
- video player error enact.js HOT 6
- Subtitles support in player HOT 8
- Video player is not supporting m3u8 HLS format HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enact.