Git Product home page Git Product logo

Comments (4)

BhanuMathurthi avatar BhanuMathurthi commented on May 14, 2024

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
Screenshot 2023-09-30 121149

from enact.

juwonjeong avatar juwonjeong commented on May 14, 2024

@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.

seunghoh avatar seunghoh commented on May 14, 2024

@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.

seunghoh avatar seunghoh commented on May 14, 2024

Close this issue as no further discussion. Please create an issue again if necessary.

from enact.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.