# Local Portal.js error

**URL:** <https://forum.ghost.org/t/local-portal-js-error/31313>\
**Category:** Developer help\
**Created:** [July 13, 2022, 9:02pm UTC](https://forum.ghost.org/t/local-portal-js-error/31313 "2022-07-13T21:02:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Boryl](https://avatars.discourse-cdn.com/v4/letter/b/8491ac/32.png) [@Boryl](https://forum.ghost.org/u/Boryl)\
**Post date:** [July 13, 2022, 9:02pm UTC](https://forum.ghost.org/t/local-portal-js-error/31313/1 "2022-07-13T21:02:35Z")

</div>

Ghost-CLI version: 1.21.0  
Ghost version: 5.3.1

I have downloaded minified portal.min.js file and added to the local path, unminified, edited Ghost config file by adding this:

```auto
"portal": {
    "url": "/assets/built/portal.js",
    "version": "2.3"
}

```

Unfortunatelly portal functionality doesn’t work. I get this error:

```auto
Uncaught ReferenceError: fl is not defined

```

I think changing minified file into unminified might broke the code. Perhaps someone know the solution?

I wanted to have local portal.js for translation purposes.

---

<div class="post-metadata">

**Author:** ![RyanF](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ryanf/32/17448_2.png) [@RyanF](https://forum.ghost.org/u/RyanF)\
**Post date:** [July 14, 2022, 5:10pm UTC](https://forum.ghost.org/t/local-portal-js-error/31313/2 "2022-07-14T17:10:16Z")

</div>

I don’t think there’s enough information to understand what’s going on here.

Does your error show where it’s originating from? Did you try to re-add the portal code?
