# Unexpected token import

**URL:** <https://forum.webostv.developer.lge.com/t/unexpected-token-import/25788>\
**Category:** Web App Development\
**Created:** [May 12, 2025, 12:23am UTC](https://forum.webostv.developer.lge.com/t/unexpected-token-import/25788 "2025-05-12T00:23:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oliv615](https://avatars.discourse-cdn.com/v4/letter/o/dbc845/32.png) [@oliv615](https://forum.webostv.developer.lge.com/u/oliv615)\
**Post date:** [May 12, 2025, 12:23am UTC](https://forum.webostv.developer.lge.com/t/unexpected-token-import/25788/1 "2025-05-12T00:23:42Z")

</div>

Hello,

I’m developing an application and I’m running into a problem.  
To take a simple example, if I open this page in the TV’s web browser, there’s no problem and it displays without any issues:

```auto
[type or paste code here](https://emb.fouita.com/widget/0x245d0b/ftw19gxxb)

```

However, if I try to open this same page in my application, it doesn’t work and I get the error message “Unexpected token import”.

I don’t understand why what works in the TV’s browser doesn’t work in the application.

Thank you for your help.

---

<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:** [May 12, 2025, 2:17am UTC](https://forum.webostv.developer.lge.com/t/unexpected-token-import/25788/2 "2025-05-12T02:17:23Z")

</div>

webOS TV uses different web engines depending on the webOS version. Please check compatibility with the [web engine](https://webostv.developer.lge.com/develop/specifications/web-api-and-web-engine). Thank you.
