ares-install js-service(templete) error
Hello,I'm currently using lg-web-os.
but I faced a error in ares-install to emulator.
I show you error situation.
1.I generate js-service app using ares
-ares-generate -t js-service jsapp
2.I package js-service app using ares
-ares-package --pkgid jsapp
3.I install js-service app to emulator(Lg-web-os)
-ares-install --device emulator jsapp_1.0.0_all.ipk
but, I faced a error in step 3.
The contents of the error are as follows.
ares-install ERR! [com.webos.appInstallService failure]: luna-send command failed
I don't know why the error is happening.
I use ubuntu 20.04 version,
ares 2.4.0 version,
node 18.14.2 version,
npm 9.6.0 version
NERGI
March 14, 2023, 8:44am
2
Hi @tioon74 , welcome to the forum.
To install the sample JS service, do the followings:
Register your emulator (ares-setup-device
).
Create a dummy app.
Create a JS service.
Package the service (step 3) with the app (step 2).
Install the package file (.ipk
) to your emulator.
I suggest you to check the followings:
Check whether you register your emulator correctly. (Check account, IP, port)
Prepare a dummy app (try with ares-generate
).
Prepare a JS service (Use -t js_service
, not -t js-service
)
Thank you for your reply.
I did everything you advice me to do.
but, I faced same luna-send error.
The webapp ipk install well to my emulator,not js_service.
The situation that I faced is as shown in the picture below.
thank you for your reply.
I understand lg web os official guide
I kept all guide.
ares-package (app_name)
but I show error and Tip
This Tip show me that using --pkgid or --pkginfofile
NERGI
March 14, 2023, 11:30pm
6
You keep trying to package the service template without a dummy app.
You created a template with the js_service
option. This template is a service, not an app. And this service MUST be packaged with a dummy app.
ares-package [App Dir] [Service Dir]
Thank you for your tips.
Thanks to you, I was able to solve the error.
1 Like