I’m developing a simple web app.
for context:
- @webos-tools/cli version 3.2.1
- targeting webOS 3.x
- using last version of webOS studio extension on VSCode
- given the old webOS version, i tried using both the library versions(webOSjs and webOSTVjs) but both of them gives the same problem
- The app itself is written in vue2.7, but it’s configured to transpile to ES5, and the services are compatible with the node version webOS 3.x uses (no let/const, no arrow function, no async/await ecc.)
- Developed using the simulator, everything works on it
I managed to package my app and my service, i even tried to package with -r option to see the directory content, everything seemed in order.
Then i tried to install it on my TV, this error occurs:
ares-install ERR! [com.webos.appInstallService failure]: luna-send command failed <FAILED_IPKG_INSTALL>
ares-install verb Error
at new CLIError (D:\npm\node_modules@webos-tools\cli\lib\base\error-handler.js:256:22)
at errMsgHdlr.getErrMsg (D:\npm\node_modules@webos-tools\cli\lib\base\error-handler.js:196:29)
at D:\npm\node_modules@webos-tools\cli\lib\install.js:228:46
at _onLine (D:\npm\node_modules@webos-tools\cli\lib\base\luna.js:91:25)
at Array.forEach ()
at _onData (D:\npm\node_modules@webos-tools\cli\lib\base\luna.js:74:36)
at Channel. (D:\npm\node_modules@webos-tools\cli\lib\base\novacom.js:961:56)
at Channel.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:335:12)
at readableAddChunk (node:internal/streams/readable:308:9)
at Readable.push (node:internal/streams/readable:245:10)
at CHANNEL_DATA (D:\npm\node_modules@webos-tools\cli\node_modules\ssh2\lib\client.js:587:23)
at 94 (D:\npm\node_modules@webos-tools\cli\node_modules\ssh2\lib\protocol\handlers.misc.js:930:16)
at Protocol.onPayload (D:\npm\node_modules@webos-tools\cli\node_modules\ssh2\lib\protocol\Protocol.js:2059:10)
at GenericDecipherBinding.decrypt (D:\npm\node_modules@webos-tools\cli\node_modules\ssh2\lib\protocol\crypto.js:1418:26)
at Protocol.parsePacket [as _parse] (D:\npm\node_modules@webos-tools\cli\node_modules\ssh2\lib\protocol\Protocol.js:2028:25)
ares-install verb novacom#Session()#begin() clear Session
ares-install info novacom#Session()#end() user-requested termination
I tried to ssh into the tv but the logs are empty