Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enact js Version compatibility issue #3179

Closed
BhanuMathurthi opened this issue Sep 30, 2023 · 4 comments
Closed

enact js Version compatibility issue #3179

BhanuMathurthi opened this issue Sep 30, 2023 · 4 comments

Comments

@BhanuMathurthi
Copy link

BhanuMathurthi commented Sep 30, 2023

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

@BhanuMathurthi
Copy link
Author

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

@juwonjeong
Copy link
Contributor

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

@seunghoh
Copy link
Member

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

@seunghoh
Copy link
Member

seunghoh commented Dec 7, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants