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

Packaging ENACTJS app for LG TV publishing #285

Open
akando42 opened this issue Jun 6, 2022 · 6 comments
Open

Packaging ENACTJS app for LG TV publishing #285

akando42 opened this issue Jun 6, 2022 · 6 comments

Comments

@akando42
Copy link

akando42 commented Jun 6, 2022

I package EnactJS app with npm run pack and Use the LG TV CLI ares-package to package the dist folder into *.ipk file. I then install the *.ipk file to the LG TV with ares-install. However the app does not seem to be able to launch and run on the TV.

Here is the app-info JSON file.
{ "id": "com.mikedoconsulting.cctv", "version": "1.0.0", "vendor": "LGE-SVL", "type": "web", "main": "index.html", "title": "CCTV", "icon": "icon.png", "miniicon": "icon-mini.png", "largeIcon": "icon-large.png", "uiRevision": 2 }

@hong6316
Copy link
Contributor

hong6316 commented Jun 6, 2022

Hello @akando42,
Could you share the below information?

  1. Error logs while you launch the app.
  2. Does npm run serve works fine?
  3. Enact CLI version
  4. Enact framework version(or, could you copy your app's package.json?)

@seunghoh
Copy link
Member

seunghoh commented Jun 6, 2022

Hi @akando42,
If the enact pack output file is generated without error, you'd better ask webOS TV developer forum.
https://webostv.developer.lge.com/sdk/webos-tv-sdk/introduction/

@akando42
Copy link
Author

akando42 commented Jun 8, 2022

@hong6316 I am using Enact CLI 4.1.7 and Enact Core 4.0.0. The app running with no bug from local machine at localhost:8080 and on the LG TV built-in browser. However, the app can not launch on the LG TV after packing using ares-package and install using ares-install. ares-inspect showing no bug error either. Is EnactJS considered a Hosted web app ?

@hong6316
Copy link
Contributor

hong6316 commented Jun 9, 2022

@akando42
Hmm I think something happened after using ares-package/ares-install.
But There's no bug error and any clues so I cannot judge what the problem is :(

How about using VSCODE EXTENSION?
Then you can use ares-package/ares-install with vscode tool and figure out the error on vscode terminal.

For further helps, please ask to webOS TV developer forum, too.

@akando42
Copy link
Author

akando42 commented Jun 9, 2022

@hong6316 Packing using Webpack directly along with ares-package/ares-install seems to be working fine for Hosted Web App like in this No_Ads Youtube TV app - https://github.com/FriedChickenButt/youtube-webos.

@akando42 akando42 changed the title Packaging ENACTJS app for LGTV publising Packaging ENACTJS app for LG TV publishing Jun 9, 2022
@hong6316 hong6316 closed this as completed Apr 3, 2023
@MikyungKim
Copy link
Contributor

I'm sorry but @akando42, is this issue resolved?
I'm not sure why this issue is closed. I'm reopening this issue.

@MikyungKim MikyungKim reopened this Apr 4, 2023
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

4 participants