enactjs / cli

Full-featured build environment tool for Enact applications
http://enactjs.com
Apache License 2.0
16 stars 28 forks source link

Packaging ENACTJS app for LG TV publishing #285

Open akando42 opened 2 years ago

akando42 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

@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 commented 2 years ago

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

MikyungKim commented 1 year ago

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