Webos Emulator IP arddess

I have installed latest version of webos emulator (v6). I am not able to view the IP address of the emulator. How to get IP address of the emulator

The emulator runs on your PC. So you can use 127.0.0.1. Thank you.

this is my device list
emulator emulator@127.0.0.1:9922 ssh tv
PS C:\Users\ATHUL\OneDrive\Desktop\webos\test> ares-install --device emulator .\com.domain.app_0.0.1_all.ipk
Connection timed out. Please check the device IP address or the port number
still not connecting to emulator.

Please share the results of the ares-setup-device -F -v and ares-install -d emulator -l -v commands. Thank you.

output of the first command is
PS C:\Users\ATHUL\OneDrive\Desktop\webos\test> ares-setup-device -F -v
ares-setup-device verb argv { listfull: true,
ares-setup-device verb argv level: ‘verbose’,
ares-setup-device verb argv argv:
ares-setup-device verb argv { remain: ,
ares-setup-device verb argv cooked: [ ‘–listfull’, ‘–level’, ‘verbose’ ],
ares-setup-device verb argv original: [ ‘-F’, ‘-v’ ] } }
ares-setup-device verb Resolver#load()
ares-setup-device verb Resolver#_loadOne() Regist privateKey : need to set a SSH private key in C:\Users\ATHUL.ssh for’Tv’
ares-setup-device verb Resolver#list()
[
{
“profile”: “tv”,
“name”: “Tv”,
“default”: false,
“deviceinfo”: {
“ip”: “192.168.10.98”,
“port”: “9922”,
“user”: “prisoner”
},
“connection”: [
“ssh”
],
“details”: {
“platform”: “starfish”,
“password”: “”,
“description”: “new device description”
}
},
{
“profile”: “tv”,
“name”: “emulator2”,
“default”: false,
“deviceinfo”: {
“ip”: “10.0.2.15”,
“port”: “9922”,
“user”: “prisoner”
},
“connection”: [
“ssh”
],
“details”: {
“platform”: “starfish”,
“password”: “password”,
“description”: “new device”
}
},
{
“profile”: “tv”,
“name”: “emulator”,
“default”: false,
“deviceinfo”: {
“ip”: “127.0.0.1”,
“port”: “9922”,
“user”: “developer”
},
“connection”: [
“ssh”
],
“details”: {
“platform”: “starfish”,
“privatekey”: “webos_emul”,
“description”: “LG webOS TV Emulator”
}
},
{
“profile”: “tv”,
“name”: “tv”,
“default”: true,
“deviceinfo”: {
“ip”: “192.168.10.98”,
“port”: “9922”,
“user”: “prisoner”
},
“connection”: [
“ssh”
],
“details”: {
“platform”: “starfish”,
“privatekey”: “tv_webos”,
“passphrase”: “AC9723”,
“description”: “new device”
}
}
]

output of second command is
PS C:\Users\ATHUL\OneDrive\Desktop\webos\test> ares-install -d emulator -l -v
ares-install verb argv { device: ‘emulator’,
ares-install verb argv list: true,
ares-install verb argv level: ‘verbose’,
ares-install verb argv argv:
ares-install verb argv { remain: ,
ares-install verb argv cooked: [ ‘–device’, ‘emulator’, ‘–list’, ‘–level’, ‘verbose’ ],
ares-install verb argv original: [ ‘-d’, ‘emulator’, ‘-l’, ‘-v’ ] } }
ares-install info novacom.Session() opening session to ‘emulator’
ares-install verb Resolver#load()
ares-install verb Resolver#_loadOne() Regist privateKey : need to set a SSH private key in C:\Users\ATHUL.ssh for’Tv’
ares-install verb Resolver#getDeviceBy() key: name , value: emulator
ares-install ERR! [Tips]: Connection timed out. Please check the device IP address or the port number
ares-install verb Error
at new b (C:\webOS_TV_SDK\CLI\lib\base\error-handler.js:7:92)
at Object.e.getErrMsg (C:\webOS_TV_SDK\CLI\lib\base\error-handler.js:21:268)
at Socket. (C:\webOS_TV_SDK\CLI\lib\base\novacom.js:16:481)
at emitNone (events.js:106:13)
at Socket.emit (events.js:208:7)
at Socket._onTimeout (net.js:422:8)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)

Please modify the emulator as follows:
image
If the problem persists, you can reset the list using the ares-setup-device -R command. This command will remove all current target devices but will add the emulator as default. Thank you.

“I’ve encountered an issue with my webOS app. While it runs smoothly on the simulator, after converting it into an IPK and installing it on a TV, the JavaScript files fail to load. I’ve already verified that the linking between the JavaScript files and the index.html is correct. However, the problem persists. Any insights or suggestions on how to resolve this issue would be greatly appreciated.”

Which version of simulator and TV are you using? webOS TV uses different web engines depending on the webOS version. So please check compatibility with the web engine of your TV first. Thank you.

My TV is running on webOS version 04.06.75 with Chromium 53 as the web engine. I have installed basic apps that consist of index.html, .css, and .js files, and they are running fine. However, when I developed an Angular web app and replaced the files of the basic app with those of the Angular app, the TV screen only shows a black screen. Are there any issues related to Angular causing this problem?

The software version is not the webOS version. To check the webOS version, please click the TV model name above. Or you can use the deviceInfo method of the webOSTV.js library. Thank you.


I’m using WebOS TV Version 2.2.3. I’m uncertain whether this version supports Angular-generated applications.

webOS TV 2.x uses WebKit 538.2. Please contact Angular support to check compatibility. Thank you.

sample app
<app-root></app-root>


<script src="./node_modules/@angular/core/fesm2022/core.mjs"></script>
<script src="./node_modules/@angular/platform-browser/fesm2022/platform-browser.mjs"></script>


<script src="./polyfills-RT5I6R6G.js" type="module"></script>
<script src="./main-ZPW4Z4SY.js" type="module"></script>


<script src="webOSTVjs-1.2.4/webOSTV.js" charset="utf-8"></script>
<script src="webOSTVjs-1.2.4/webOSTV-dev.js" charset="utf-8"></script>
content inside app-root tag is not loading. is there any issues related to developing app for webos using angular framework

Please contact Angular support to check compatibility. Thank you.