# packed ECONNREFUSED/unpackaged ERR\_FILE\_NOT\_FOUND: failing to get app runing on lg web os simulator

**URL:** <https://forum.webostv.developer.lge.com/t/packed-econnrefused-unpackaged-err-file-not-found-failing-to-get-app-runing-on-lg-web-os-simulator/5764>\
**Category:** Web App Development\
**Created:** [February 26, 2024, 11:01pm UTC](https://forum.webostv.developer.lge.com/t/packed-econnrefused-unpackaged-err-file-not-found-failing-to-get-app-runing-on-lg-web-os-simulator/5764 "2024-02-26T23:01:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user2333](https://avatars.discourse-cdn.com/v4/letter/u/8edcca/32.png) [@user2333](https://forum.webostv.developer.lge.com/u/user2333)\
**Post date:** [February 26, 2024, 11:01pm UTC](https://forum.webostv.developer.lge.com/t/packed-econnrefused-unpackaged-err-file-not-found-failing-to-get-app-runing-on-lg-web-os-simulator/5764/1 "2024-02-26T23:01:42Z")

</div>

> <https://stackoverflow.com/questions/78052727/packaged-econnrefused-unpackaged-err-file-not-found-failing-to-get-app-runing-o>

```auto
felixolszewski@Felixs-MacBook-Pro-2 SMART TV % ares-install --device emulator "/Users/felixolszewski/Desktop/SMART TV/com.felixolszewski.app1_1.0.0_all.ipk"        
ares-install ERR! [syscall failure]: connect ECONNREFUSED 127.0.0.1:6622
ares-install ERR! [Tips]: Connection refused. Please check the device IP address or the port number

felixolszewski@Felixs-MacBook-Pro-2 SMART TV % ares-setup-device --list                                                                                                          
name deviceinfo connection profile
------------------ ------------------------ ---------- -------
emulator (default) developer@127.0.0.1:6622 ssh tv     

felixolszewski@Felixs-MacBook-Pro-2 SMART TV % 

```

Do I need to link my simulator manually? Or does the emulator device in the list refer to the simulator? If manually: how exactly? I would have no clue what to set as:

1. name
2. deviceinfo
3. ssh
4. tv

Why do I want to execute this command?

I want to create an app from a static Angular15 website. I also tried simply opening the unpackaged app build folder, as shown in the lg web os tutorial: [https://webostv.developer.lge.com/develop/getting-started/build-your-first-web-app](https://webostv.developer.lge.com/develop/getting-started/build-your-first-web-app)

But then I got this error when inspecting my app: [![enter image description here](https://canada1.discourse-cdn.com/flex030/uploads/webostv/original/1X/aeb185e77e7f02d7ead622f3b8d4ad5ce1198ec6.png)](https://i.stack.imgur.com/2QDDI.png)

FAILED TO LOAD RESOURCE: ERR\_FILE\_NOT\_FOUND, for those four filenames: runtimemefa9a14c71368959.js:1 polyfillssc5a6162cac4767e2mjs:1 main.607e420b5eadbc63.js:1 styles.56a9653a72393d06scss:1

Hence I tried deploying the packaged app, as this might resolve the error. But maybe I also have to be able to launch my unpackaged app? If so, then why am I getting the error? I think it could be related to: ["Failed to load module script" error on webOS 5+ LG TVs](https://forum.webostv.developer.lge.com/t/failed-to-load-module-script-error-on-webos-5-lg-tvs/2351)

Can anyone help? I am not too familiar with specifc js/es version things. I could provide my tsconfig.json if necessary.

---

<div class="post-metadata">

**Author:** ![narae0.kim](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@narae0.kim](https://forum.webostv.developer.lge.com/u/narae0.kim)\
**Post date:** [February 26, 2024, 11:10pm UTC](https://forum.webostv.developer.lge.com/t/packed-econnrefused-unpackaged-err-file-not-found-failing-to-get-app-runing-on-lg-web-os-simulator/5764/2 "2024-02-26T23:10:26Z")

</div>

webOS TV Simulator does not use .ipk. Therefore, the ares-install command is not required. Use only the ares-launch command. For more information, please refer to [Test on the Simulator](https://webostv.developer.lge.com/develop/tools/cli-dev-guide#test-on-the-simulator) and [Launch the app on the Simulator](https://webostv.developer.lge.com/develop/tools/vsce-dev-guide#launch-the-app-on-the-simulator). Thank you.
