# External libraries not available on initial app load in Production (ReferenceError on first render)

**URL:** <https://community.appfarm.io/t/external-libraries-not-available-on-initial-app-load-in-production-referenceerror-on-first-render/2301>\
**Category:** Bug reports\
**Created:** [March 6, 2026, 8:21am UTC](https://community.appfarm.io/t/external-libraries-not-available-on-initial-app-load-in-production-referenceerror-on-first-render/2301 "2026-03-06T08:21:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/alex/32/1439_2.png) [@alex](https://community.appfarm.io/u/alex)\
**Post date:** [March 6, 2026, 8:21am UTC](https://community.appfarm.io/t/external-libraries-not-available-on-initial-app-load-in-production-referenceerror-on-first-render/2301/1 "2026-03-06T08:21:59Z")

</div>

# Description

We are experiencing an issue in the **Production environment** where external JavaScript libraries used in a Code Component are **not available during the initial application load**.

On the first load of the app, the Code Component fails because the external library has not yet been initialized. This results in a `ReferenceError` and prevents the component from rendering correctly.

However, after navigating within the app (e.g., switching pages), the libraries appear to load correctly and the functionality works as expected.

The issue **only occurs in the Production environment**. The same setup works correctly in other environments (e.g., development/test/stage).

# Console Error

```auto
ReferenceError: Highcharts is not defined
    at renderHomeDash (functions?v=42887ba5:1972:5)
    at fnbabe1a78 (functions?v=42887ba5:2081:9)
    at 710.c4cac98a97a9b314af4f.js:1:5337

```

# Observed Behavior

- On the **initial load of the app in Production** , the Code Component throws a `ReferenceError`.
- The external library is not recognized or available at that moment.
- The component fails to render and shows an error.
- After navigating within the app, the library becomes available and the component works normally on the pages we have already navigate, still happening for those pages that we haven’t navigate.

# Expected Behavior

External libraries should be **available when the application first loads** , so the Code Component can render correctly without requiring user navigation.

# Environment Details

- Issue occurs **only in Production**
- Same configuration and setup are used across all environments
- The issue persists even after redeploying to Production
- No configuration differences between environments have been identified

# Additional Context

The component relies on external JavaScript libraries (e.g., Highcharts) that are normally available globally. In Production, these libraries appear to **not be initialized in time for the first render** , but they become available later during the session.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/a/a4e1286d4969be8bd0610776c1179df518cdb2ae.png)

---

<div class="post-metadata">

**Author:** ![Theo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/theo/32/1672_2.png) [@Theo](https://community.appfarm.io/u/Theo)\
**Post date:** [March 6, 2026, 10:54am UTC](https://community.appfarm.io/t/external-libraries-not-available-on-initial-app-load-in-production-referenceerror-on-first-render/2301/2 "2026-03-06T10:54:58Z")

</div>

We experienced something similar yesterday, and it turned out that the cdn link to the external library was being redirected in prod only, which resulted in a CORS deny from Appfarm.

Not necessarily the same error for you, but if you see in the console (wherever you initialize that library) that you are getting a CORS error, try adding the link that the console claim is being blocked to your script/style source in the environment config

---

<div class="post-metadata">

**Author:** ![Malin](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/malin/32/1634_2.png) [@Malin](https://community.appfarm.io/u/Malin)\
**Post date:** [March 6, 2026, 12:58pm UTC](https://community.appfarm.io/t/external-libraries-not-available-on-initial-app-load-in-production-referenceerror-on-first-render/2301/3 "2026-03-06T12:58:38Z")

</div>

Hi!

Thanks for the detailed report.

To understand what’s happening here, could you share how Highcharts is being loaded in your app?

- Are you including it via a script tag on the Coded Component?

- Or via a Header Tag in Environment Settings?

If possible, please also share a small snippet of how you’re initializing Highcharts in the Coded Component. That will help us reproduce and investigate the issue.

Malin

---

<div class="post-metadata">

**Author:** ![alex](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/alex/32/1439_2.png) [@alex](https://community.appfarm.io/u/alex)\
**Post date:** [March 6, 2026, 1:08pm UTC](https://community.appfarm.io/t/external-libraries-not-available-on-initial-app-load-in-production-referenceerror-on-first-render/2301/4 "2026-03-06T13:08:30Z")

</div>

We don’t include it via script tag on the Coded Component, we are defining it in Environment Settings via Header Tag.

When using Highcharts in the Coded Components, we do this for example:

```auto
Highcharts.chart('home-dash-main', {

```

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/7/7a49b4febba048eef082b3cc45d3150f4b46bfb3.png)

But is has been working all the time, and is only failing on first load for production environment.

---

<div class="post-metadata">

**Author:** ![Malin](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/malin/32/1634_2.png) [@Malin](https://community.appfarm.io/u/Malin)\
**Post date:** [March 9, 2026, 8:14am UTC](https://community.appfarm.io/t/external-libraries-not-available-on-initial-app-load-in-production-referenceerror-on-first-render/2301/5 "2026-03-09T08:14:13Z")

</div>

Thanks for the clarification!

Since you’re loading Highcharts through Environment Settings → Header Tags, could you please share a screenshot of ypur setup?

It would also be helpful to know:

- The full script URL you’re loading Highcharts from

- Whether the issue happens in all browsers, or only specific ones (e.g. Safari or Chrome)

From the behavior you describe (failing only on first load in production), it could be related to how the external script is loaded or cached, so seeing the exact setup will help us narrow it down.

---

<div class="post-metadata">

**Author:** ![alex](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/alex/32/1439_2.png) [@alex](https://community.appfarm.io/u/alex)\
**Post date:** [March 9, 2026, 8:25am UTC](https://community.appfarm.io/t/external-libraries-not-available-on-initial-app-load-in-production-referenceerror-on-first-render/2301/6 "2026-03-09T08:25:52Z")

</div>

Thanks — please see the screenshot of our current Header Tag setup attached.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/d/d43939c788f20ea770dd89205ec195aedabf6323.png)

Details:

- **Script URL:** `https://code.highcharts.com/highcharts.js`
- **Tag type:** Script URL
- **Async:** disabled
- **Defer:** disabled

This issue happens **in all browsers** we tested (Arc, Google Chrome).

Also worth noting:

- This setup **worked previously**
- The issue is **only happening in Production**
- The problem is not limited to Highcharts; we are also experiencing issues with **other third-party libraries**
- The libraries appear to become available **after navigation / later in the session** , but are not reliably available on the **first load**

That makes us think this may be a broader issue with external library loading or initialization timing in Production, rather than a browser-specific issue or a single-library configuration issue.

---

<div class="post-metadata">

**Author:** ![Jonas](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/jonas/32/17_2.png) [@Jonas](https://community.appfarm.io/u/Jonas)\
**Post date:** [March 9, 2026, 10:20am UTC](https://community.appfarm.io/t/external-libraries-not-available-on-initial-app-load-in-production-referenceerror-on-first-render/2301/7 "2026-03-09T10:20:34Z")

</div>

Hello!

The issue is now happening in all environments. This is a critical issue for us and all customers now, and we have no idea how to debug it.

I even tried rolling back to a week-old version of stage (when this defenitely worked), but the issue remains. Also here, the highchart loads after clocking around a bit.

Not sure if this is related, but we suddenly also lost connection to our Intercom integration in stage and prod (chat in app, also added through a coded component). We have not touched either of these implementations lately, so we are concerned that this is a change in web requests or external libraries on the Appfarm side that affects several third-party tools.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/5/57b6fc96822c04ffb02b76420db45fa3675eb959.jpeg)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/a/a14ec2b089cf404f56152f2499e25cf07f21857c.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/b/bd22e095beb422006073cfc6054736adf6d53db8.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/a/acbcfff26f6c4f25d034f71a65aa4233540316c5.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/3/3e37d3a336f75ece388e62c873bffa05d2e5b31d.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/b/b73376bf39e49a067936ec847e7cc8d1b7e1e848.png)

---

<div class="post-metadata">

**Author:** ![Malin](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/malin/32/1634_2.png) [@Malin](https://community.appfarm.io/u/Malin)\
**Post date:** [March 9, 2026, 11:07am UTC](https://community.appfarm.io/t/external-libraries-not-available-on-initial-app-load-in-production-referenceerror-on-first-render/2301/8 "2026-03-09T11:07:41Z")

</div>

When we go to the link you refer to here, we receive a 403 from Highcharts. This indicates that the error is on the Highcharts side and not Appfarm’s. See the attached screenshot.

> <https://github.com/highcharts/node-export-server/issues/593>
>
> \#### Expected behaviour
> It should work as we have defined standard userAgent an…d Referer.
> 
> \#### Actual behaviour
> When we are using fd keyword in Referer, Our request is getting blocked and we are getting 403 error.
> 
> \#### Live demo with steps to reproduce
> 
> Use Curl request to reproduce
> curl --location 'https://export.highcharts.com/' \\
> \--header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,\*/\*;q=0.8,application/signed-exchange;v=b3;q=0.7' \\
> \--header 'Accept-Language: en-US,en;q=0.9' \\
> \--header 'Cache-Control: max-age=0' \\
> \--header 'Connection: keep-alive' \\
> \--header 'Cookie: \_cfuvid=xoDKd4Zn9TVLByZhFuytr7SJLkLjZeo.Yp2x4Q-1730186434774-0.0.1.1-604800000; \_cfuvid=jSiZD.soDNF3WSGFqMGJHo4GENaiPtxKcw7FkQTz7jA-1731391279507-0.0.1.1-604800000' \\
> \--header 'Origin: https://fd.abc.cloud' \\
> \--header 'Referer: https://fd.abc.cloud' \\
> \--header 'Sec-Fetch-Dest: document' \\
> \--header 'Sec-Fetch-Mode: navigate' \\
> \--header 'Sec-Fetch-Site: cross-site' \\
> \--header 'Sec-Fetch-User: ?1' \\
> \--header 'Upgrade-Insecure-Requests: 1' \\
> \--header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36' \\
> \--header 'sec-ch-ua: "Chromium";v="130", "Google Chrome";v="130", "Not?A\_Brand";v="99"' \\
> \--header 'sec-ch-ua-mobile: ?0' \\
> \--header 'sec-ch-ua-platform: "Windows"' \\
> \--form 'filename="Industrial"' \\
> \--form 'type="image/svg+xml"' \\
> \--form 'width="0"' \\
> \--form 'scale="2"' \\
> \--form 'svg="\<svg xmlns:xlink=\\"http://www.w3.org/1999/xlink\\" version=\\"1.1\\" class=\\"highcharts-root\\" style=\\"font-family:&quot;Lucida Grande&quot;, &quot;Lucida Sans Unicode&quot;, Arial, Helvetica, sans-serif;font-size:12px;\\" xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"600\\" height=\\"400\\" viewBox=\\"0 0 600 400\\"\>\<desc\>Created with Highcharts 9.3.3\</desc\>\<defs\>\<clipPath id=\\"highcharts-epvnv81-3712-\\"\>\<rect x=\\"0\\" y=\\"0\\" width=\\"515\\" height=\\"221\\" fill=\\"none\\"\>\</rect\>\</clipPath\>\<clipPath id=\\"highcharts-epvnv81-4450-\\"\>\<rect x=\\"0\\" y=\\"0\\" width=\\"515\\" height=\\"221\\" fill=\\"none\\"\>\</rect\>\</clipPath\>\<clipPath id=\\"highcharts-epvnv81-5925-\\"\>\<rect x=\\"75\\" y=\\"74\\" width=\\"515\\" height=\\"221\\" fill=\\"none\\"\>\</rect\>\</clipPath\>\</defs\>\<rect fill=\\"\\#ffffff\\" class=\\"highcharts-background\\" x=\\"0\\" y=\\"0\\" width=\\"600\\" height=\\"400\\" rx=\\"0\\" ry=\\"0\\"\>\</rect\>\<rect fill=\\"none\\" class=\\"highcharts-plot-background\\" x=\\"75\\" y=\\"74\\" width=\\"515\\" height=\\"221\\"\>\</rect\>\<g class=\\"highcharts-pane-group\\" data-z-index=\\"0\\"\>\</g\>\<g class=\\"highcharts-grid highcharts-xaxis-grid\\" data-z-index=\\"1\\"\>\<path fill=\\"none\\" stroke-dasharray=\\"none\\" data-z-index=\\"1\\" class=\\"highcharts-grid-line\\" d=\\"M 112.5 74 L 112.5 295\\" opacity=\\"1\\"\>\</path\>\<path fill=\\"none\\" stroke-dasharray=\\"none\\" data-z-index=\\"1\\" class=\\"highcharts-grid-line\\" d=\\"M 226.5 74 L 226.5 295\\" opacity=\\"1\\"\>\</path\>\<path fill=\\"none\\" stroke-dasharray=\\"none\\" data-z-index=\\"1\\" class=\\"highcharts-grid-line\\" d=\\"M 340.5 74 L 340.5 295\\" opacity=\\"1\\"\>\</path\>\<path fill=\\"none\\" stroke-dasharray=\\"none\\" data-z-index=\\"1\\" class=\\"highcharts-grid-line\\" d=\\"M 454.5 74 L 454.5 295\\" opacity=\\"1\\"\>\</path\>\<path fill=\\"none\\" stroke-dasharray=\\"none\\" data-z-index=\\"1\\" class=\\"highcharts-grid-line\\" d=\\"M 568.5 74 L 568.5 295\\" opacity=\\"1\\"\>\</path\>\</g\>\<g class=\\"highcharts-grid highcharts-yaxis-grid\\" data-z-index=\\"1\\"\>\<path fill=\\"none\\" stroke=\\"\\#e6e6e6\\" stroke-width=\\"1\\" stroke-dasharray=\\"none\\" data-z-index=\\"1\\" class=\\"highcharts-grid-line\\" d=\\"M 75 295.5 L 590 295.5\\" opacity=\\"1\\"\>\</path\>\<path fill=\\"none\\" stroke=\\"\\#e6e6e6\\" stroke-width=\\"1\\" stroke-dasharray=\\"none\\" data-z-index=\\"1\\" class=\\"highcharts-grid-line\\" d=\\"M 75 240.5 L 590 240.5\\" opacity=\\"1\\"\>\</path\>\<path fill=\\"none\\" stroke=\\"\\#e6e6e6\\" stroke-width=\\"1\\" stroke-dasharray=\\"none\\" data-z-index=\\"1\\" class=\\"highcharts-grid-line\\" d=\\"M 75 185.5 L 590 185.5\\" opacity=\\"1\\"\>\</path\>\<path fill=\\"none\\" stroke=\\"\\#e6e6e6\\" stroke-width=\\"1\\" stroke-dasharray=\\"none\\" data-z-index=\\"1\\" class=\\"highcharts-grid-line\\" d=\\"M 75 129.5 L 590 129.5\\" opacity=\\"1\\"\>\</path\>\<path fill=\\"none\\" stroke=\\"\\#e6e6e6\\" stroke-width=\\"1\\" stroke-dasharray=\\"none\\" data-z-index=\\"1\\" class=\\"highcharts-grid-line\\" d=\\"M 75 73.5 L 590 73.5\\" opacity=\\"1\\"\>\</path\>\</g\>\<rect fill=\\"none\\" class=\\"highcharts-plot-border\\" data-z-index=\\"1\\" x=\\"75\\" y=\\"74\\" width=\\"515\\" height=\\"221\\"\>\</rect\>\<g class=\\"highcharts-axis highcharts-xaxis\\" data-z-index=\\"2\\"\>\<path fill=\\"none\\" class=\\"highcharts-tick\\" stroke=\\"\\#ccd6eb\\" stroke-width=\\"1\\" d=\\"M 112.5 295 L 112.5 305\\" opacity=\\"1\\"\>\</path\>\<path fill=\\"none\\" class=\\"highcharts-tick\\" stroke=\\"\\#ccd6eb\\" stroke-width=\\"1\\" d=\\"M 226.5 295 L 226.5 305\\" opacity=\\"1\\"\>\</path\>\<path fill=\\"none\\" class=\\"highcharts-tick\\" stroke=\\"\\#ccd6eb\\" stroke-width=\\"1\\" d=\\"M 340.5 295 L 340.5 305\\" opacity=\\"1\\"\>\</path\>\<path fill=\\"none\\" class=\\"highcharts-tick\\" stroke=\\"\\#ccd6eb\\" stroke-width=\\"1\\" d=\\"M 454.5 295 L 454.5 305\\" opacity=\\"1\\"\>\</path\>\<path fill=\\"none\\" class=\\"highcharts-tick\\" stroke=\\"\\#ccd6eb\\" stroke-width=\\"1\\" d=\\"M 568.5 295 L 568.5 305\\" opacity=\\"1\\"\>\</path\>\<path fill=\\"none\\" class=\\"highcharts-axis-line\\" stroke=\\"\\#ccd6eb\\" stroke-width=\\"1\\" data-z-index=\\"7\\" d=\\"M 75 295.5 L 590 295.5\\"\>\</path\>\</g\>\<g class=\\"highcharts-axis highcharts-yaxis\\" data-z-index=\\"2\\"\>\<text x=\\"26.488866806030273\\" data-z-index=\\"7\\" text-anchor=\\"middle\\" transform=\\"translate(0,0) rotate(270 26.488866806030273 184.5)\\" class=\\"highcharts-axis-title\\" style=\\"color:\\#666666;fill:\\#666666;\\" y=\\"184.5\\"\>hours\</text\>\<path fill=\\"none\\" class=\\"highcharts-axis-line\\" stroke=\\"\\#ccd6eb\\" stroke-width=\\"1\\" data-z-index=\\"7\\" d=\\"M 74.5 74 L 74.5 295\\"\>\</path\>\</g\>\<g class=\\"highcharts-series-group\\" data-z-index=\\"3\\"\>\<g class=\\"highcharts-series highcharts-series-0 highcharts-spline-series\\" data-z-index=\\"0.1\\" opacity=\\"1\\" transform=\\"translate(75,74) scale(1 1)\\" clip-path=\\"url(\\#highcharts-epvnv81-4450-)\\"\>\<path fill=\\"none\\" d=\\"M 5.0490196078431 58.45532875000001 C 504.10689309371 58.45420165000001 504.24280210065 58.453671249999985 504.51462011453 58.45256624999999 C 504.78643812841403 58.45146124999997 504.922347135356 58.45090875000001 505.19416514924 58.44980375 C 505.46598316312003 58.448698750000005 505.60189217006 58.448146249999986 505.87371018394 58.447041249999984 C 506.14552819782 58.44593624999998 506.28143720476 58.445389275 506.55325521864 58.444278749999995 C 506.8250732325199 58.443168224999994 506.96098223946 58.44264334999997 507.23280025334 58.44148862499998 C 507.50461826722403 58.44033389999996 507.640527274166 58.439654324999985 507.91234528805 58.43850512499998 C 508.18416330193 58.43735592499999 508.32007230886995 58.43684762499999 508.59189032275 58.43574262499999 C 508.86370833662994 58.434637624999986 508.99961734357004 58.43407959999997 509.27143535745 58.43298012499997 C 509.54325337133395 58.43188064999996 509.95098039216 58.430245249999984 509.95098039216 58.430245249999984\\" class=\\"highcharts-graph\\" data-z-index=\\"1\\" stroke=\\"\\#00e272\\" stroke-width=\\"2\\" stroke-linejoin=\\"round\\" stroke-linecap=\\"round\\"\>\</path\>\</g\>\<g class=\\"highcharts-markers highcharts-series-2 highcharts-spline-series\\" data-z-index=\\"0.1\\" opacity=\\"1\\" transform=\\"translate(75,74) scale(1 1)\\" clip-path=\\"none\\"\>\</g\>\</g\>\<g class=\\"highcharts-annotation\\" opacity=\\"1\\" data-z-index=\\"3\\" visibility=\\"visible\\"\>\<g class=\\"highcharts-annotation-shapes\\" clip-path=\\"url(\\#highcharts-epvnv81-5925-)\\"\>\</g\>\<g class=\\"highcharts-annotation-labels\\" transform=\\"translate(0,0)\\"\>\</g\>\</g\>\<text x=\\"10\\" text-anchor=\\"start\\" class=\\"highcharts-title\\" data-z-index=\\"4\\" style=\\"color:\\#333333;font-size:18px;fill:\\#333333;\\" y=\\"24\\"\>\<tspan style=\\"font-weight:bold;font-size: 14px; float:left;\\"\>Industrial Refrigeration Advisor / APAC / Singapore / CapitaLand \</tspan\>\<tspan class=\\"highcharts-br\\" dy=\\"15\\" x=\\"10\\"\>​\</tspan\>\<tspan style=\\"font-weight:lighter;font-size: 12px\\"\>Present 28th Sep '\\''24 - 28th Oct '\\''24\</tspan\>\<tspan class=\\"highcharts-br\\" dy=\\"14\\" x=\\"10\\"\>​\</tspan\>\<tspan style=\\"font-weight:lighter;font-size: 11px\\"\>total run hours\</tspan\>\</text\>\<text x=\\"300\\" text-anchor=\\"middle\\" class=\\"highcharts-subtitle\\" data-z-index=\\"4\\" style=\\"color:\\#666666;fill:\\#666666;\\" y=\\"73\\"\>\</text\>\<text x=\\"10\\" text-anchor=\\"start\\" class=\\"highcharts-caption\\" data-z-index=\\"4\\" style=\\"color:\\#666666;fill:\\#666666;\\" y=\\"397\\"\>\</text\>\<g class=\\"highcharts-annotation\\" opacity=\\"1\\" data-z-index=\\"6\\" visibility=\\"visible\\" style=\\"cursor:ew-resize;\\"\>\<g class=\\"highcharts-annotation-shapes\\" clip-path=\\"url(\\#highcharts-epvnv81-5925-)\\"\>\<path fill=\\"rgb(0, 0, 0)\\" fill-opacity=\\" 0.75\\" d=\\"M 79.5 74 L 79.5 3074\\" stroke=\\"rgb(0, 0, 0)\\" stroke-opacity=\\" 0.75\\" stroke-width=\\"3\\"\>\</path\>\<path fill=\\"rgb(192,192,192)\\" fill-opacity=\\"0.0001\\" d=\\"M 79.5 74 L 79.5 3074\\" class=\\"highcharts-tracker-line\\" data-z-index=\\"2\\" stroke-linejoin=\\"round\\" stroke=\\"rgb(192,192,192)\\" stroke-opacity=\\"0.0001\\" stroke-width=\\"7\\"\>\</path\>\</g\>\<g class=\\"highcharts-annotation-labels\\" transform=\\"translate(0,0)\\"\>\<g class=\\"highcharts-label highcharts-annotation-label highcharts-no-tooltip\\" transform=\\"translate(80,78)\\"\>\<path fill=\\"rgb(247,247,247)\\" fill-opacity=\\"0.85\\" class=\\"highcharts-label-box highcharts-annotation-label-box\\" d=\\"M 3.5 0.5 L 109.5 0.5 C 112.5 0.5 112.5 0.5 112.5 3.5 L 112.5 21.5 C 112.5 24.5 112.5 24.5 109.5 24.5 L 3.5 24.5 C 0.5 24.5 0.5 24.5 0.5 21.5 L 0.5 3.5 C 0.5 0.5 0.5 0.5 3.5 0.5\\" stroke=\\"rgb(204,204,204)\\" stroke-width=\\"1\\"\>\</path\>\<text x=\\"5\\" data-z-index=\\"1\\" y=\\"16\\" style=\\"color:\\#000000;font-size:11px;font-weight:normal;fill:\\#000000;\\"\>28th Sep '\\''24 00:00\</text\>\</g\>\</g\>\</g\>\<g class=\\"highcharts-annotation\\" opacity=\\"1\\" data-z-index=\\"6\\" visibility=\\"visible\\" style=\\"cursor:ew-resize;\\"\>\<g class=\\"highcharts-annotation-shapes\\" clip-path=\\"url(\\#highcharts-epvnv81-5925-)\\"\>\<path fill=\\"rgb(0, 0, 0)\\" fill-opacity=\\" 0.75\\" d=\\"M 584.5 74 L 584.5 3074\\" stroke=\\"rgb(0, 0, 0)\\" stroke-opacity=\\" 0.75\\" stroke-width=\\"3\\"\>\</path\>\<path fill=\\"rgb(192,192,192)\\" fill-opacity=\\"0.0001\\" d=\\"M 584.5 74 L 584.5 3074\\" class=\\"highcharts-tracker-line\\" data-z-index=\\"2\\" stroke-linejoin=\\"round\\" stroke=\\"rgb(192,192,192)\\" stroke-opacity=\\"0.0001\\" stroke-width=\\"7\\"\>\</path\>\</g\>\<g class=\\"highcharts-annotation-labels\\" transform=\\"translate(0,0)\\"\>\<g class=\\"highcharts-label highcharts-annotation-label highcharts-no-tooltip\\" transform=\\"translate(473,78)\\"\>\<path fill=\\"rgb(247,247,247)\\" fill-opacity=\\"0.85\\" class=\\"highcharts-label-box highcharts-annotation-label-box\\" d=\\"M 3.5 0.5 L 109.5 0.5 C 112.5 0.5 112.5 0.5 112.5 3.5 L 112.5 12 L 111.5 16 L 112.5 12 L 112.5 21.5 C 112.5 24.5 112.5 24.5 109.5 24.5 L 3.5 24.5 C 0.5 24.5 0.5 24.5 0.5 21.5 L 0.5 3.5 C 0.5 0.5 0.5 0.5 3.5 0.5\\" stroke=\\"rgb(204,204,204)\\" stroke-width=\\"1\\"\>\</path\>\<text x=\\"5\\" data-z-index=\\"1\\" y=\\"16\\" style=\\"color:\\#000000;font-size:11px;font-weight:normal;fill:\\#000000;\\"\>28th Oct '\\''24 23:00\</text\>\</g\>\</g\>\</g\>\<g class=\\"highcharts-legend highcharts-no-tooltip\\" data-z-index=\\"7\\" transform=\\"translate(155,329)\\"\>\<rect fill=\\"none\\" class=\\"highcharts-legend-box\\" rx=\\"0\\" ry=\\"0\\" x=\\"0\\" y=\\"0\\" width=\\"290\\" height=\\"56\\" visibility=\\"visible\\"\>\</rect\>\<g data-z-index=\\"1\\"\>\<g\>\<g class=\\"highcharts-legend-item highcharts-spline-series highcharts-color-undefined highcharts-series-0\\" data-z-index=\\"1\\" transform=\\"translate(8,3)\\"\>\<path fill=\\"none\\" d=\\"M 0 11 L 16 11\\" class=\\"highcharts-graph\\" stroke=\\"\\#2caffe\\" stroke-width=\\"2\\"\>\</path\>\<text x=\\"21\\" style=\\"color:\\#333333;cursor:pointer;font-size:12px;font-weight:bold;fill:\\#333333;\\" text-anchor=\\"start\\" data-z-index=\\"2\\" y=\\"15\\"\>\<tspan style=\\"white-space: nowrap;\\" title=\\"Compressor102 - Total Run Time Formula\\"\>Compressor102 - Total Run Time Formula\</tspan\>\</text\>\</g\>\<g class=\\"highcharts-legend-item highcharts-spline-series highcharts-color-undefined highcharts-series-1\\" data-z-index=\\"1\\" transform=\\"translate(8,18)\\"\>\<path fill=\\"none\\" d=\\"M 0 11 L 16 11\\" class=\\"highcharts-graph\\" stroke=\\"\\#544fc5\\" stroke-width=\\"2\\"\>\</path\>\<text x=\\"21\\" y=\\"15\\" style=\\"color:\\#333333;cursor:pointer;font-size:12px;font-weight:bold;fill:\\#333333;\\" text-anchor=\\"start\\" data-z-index=\\"2\\"\>\<tspan style=\\"white-space: nowrap;\\" title=\\"Compressor 104 - Total Run Time Formula\\"\>Compressor 104 - Total Run Time Formula\</tspan\>\</text\>\</g\>\<g class=\\"highcharts-legend-item highcharts-spline-series highcharts-color-undefined highcharts-series-2\\" data-z-index=\\"1\\" transform=\\"translate(8,33)\\"\>\<path fill=\\"none\\" d=\\"M 0 11 L 16 11\\" class=\\"highcharts-graph\\" stroke=\\"\\#00e272\\" stroke-width=\\"2\\"\>\</path\>\<text x=\\"21\\" y=\\"15\\" style=\\"color:\\#333333;cursor:pointer;font-size:12px;font-weight:bold;fill:\\#333333;\\" text-anchor=\\"start\\" data-z-index=\\"2\\"\>\<tspan style=\\"white-space: nowrap;\\" title=\\" - Total Run Time Formula\\"\> - Total Run Time Formula\</tspan\>\</text\>\</g\>\</g\>\</g\>\</g\>\<g class=\\"highcharts-axis-labels highcharts-xaxis-labels\\" data-z-index=\\"7\\"\>\<text x=\\"112.66718127359\\" style=\\"color:\\#666666;cursor:default;font-size:11px;fill:\\#666666;\\" text-anchor=\\"middle\\" transform=\\"translate(0,0)\\" y=\\"314\\" opacity=\\"1\\"\>30 Sep\</text\>\<text x=\\"226.83074710369\\" style=\\"color:\\#666666;cursor:default;font-size:11px;fill:\\#666666;\\" text-anchor=\\"middle\\" transform=\\"translate(0,0)\\" y=\\"314\\" opacity=\\"1\\"\>7 Oct\</text\>\<text x=\\"340.99431293379\\" style=\\"color:\\#666666;cursor:default;font-size:11px;fill:\\#666666;\\" text-anchor=\\"middle\\" transform=\\"translate(0,0)\\" y=\\"314\\" opacity=\\"1\\"\>14 Oct\</text\>\<text x=\\"455.15787876389\\" style=\\"color:\\#666666;cursor:default;font-size:11px;fill:\\#666666;\\" text-anchor=\\"middle\\" transform=\\"translate(0,0)\\" y=\\"314\\" opacity=\\"1\\"\>21 Oct\</text\>\<text x=\\"569.32144459399\\" style=\\"color:\\#666666;cursor:default;font-size:11px;fill:\\#666666;\\" text-anchor=\\"middle\\" transform=\\"translate(0,0)\\" y=\\"314\\" opacity=\\"1\\"\>28 Oct\</text\>\</g\>\<g class=\\"highcharts-axis-labels highcharts-yaxis-labels\\" data-z-index=\\"7\\"\>\<text x=\\"60\\" style=\\"color:\\#666666;cursor:default;font-size:11px;fill:\\#666666;\\" text-anchor=\\"end\\" transform=\\"translate(0,0)\\" y=\\"299\\" opacity=\\"1\\"\>0\</text\>\<text x=\\"60\\" style=\\"color:\\#666666;cursor:default;font-size:11px;fill:\\#666666;\\" text-anchor=\\"end\\" transform=\\"translate(0,0)\\" y=\\"244\\" opacity=\\"1\\"\>20k\</text\>\<text x=\\"60\\" style=\\"color:\\#666666;cursor:default;font-size:11px;fill:\\#666666;\\" text-anchor=\\"end\\" transform=\\"translate(0,0)\\" y=\\"189\\" opacity=\\"1\\"\>40k\</text\>\<text x=\\"60\\" style=\\"color:\\#666666;cursor:default;font-size:11px;fill:\\#666666;\\" text-anchor=\\"end\\" transform=\\"translate(0,0)\\" y=\\"133\\" opacity=\\"1\\"\>60k\</text\>\<text x=\\"60\\" style=\\"color:\\#666666;cursor:default;font-size:11px;fill:\\#666666;\\" text-anchor=\\"end\\" transform=\\"translate(0,0)\\" y=\\"78\\" opacity=\\"1\\"\>80k\</text\>\</g\>\<g class=\\"highcharts-control-points\\" data-z-index=\\"99\\" clip-path=\\"url(\\#highcharts-epvnv81-5925-)\\"\>\</g\>\</svg\>"'
> 
> \#### Product version
> 
> highchart 11.1.0
> \#### Affected browser(s)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/0/08497bb2673eea7e327aeebacce2f9520c91e0f3.png)

---

<div class="post-metadata">

**Author:** ![Jonas](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/jonas/32/17_2.png) [@Jonas](https://community.appfarm.io/u/Jonas)\
**Post date:** [March 9, 2026, 3:40pm UTC](https://community.appfarm.io/t/external-libraries-not-available-on-initial-app-load-in-production-referenceerror-on-first-render/2301/9 "2026-03-09T15:40:46Z")

</div>

Yes, you were correct. Sorry about the disturbance.

Seems like we have been flagged for using Highcharts unlicensed, which made it crash from certain IPs. That also made Intercom fail (since the Intercom coded component had a reference to Highchart)

Sorry about the false alert.

---

<div class="post-metadata">

**Author:** ![Malin](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/malin/32/1634_2.png) [@Malin](https://community.appfarm.io/u/Malin)\
**Post date:** [March 9, 2026, 3:51pm UTC](https://community.appfarm.io/t/external-libraries-not-available-on-initial-app-load-in-production-referenceerror-on-first-render/2301/10 "2026-03-09T15:51:46Z")

</div>

No worries! Glad you found the root cause.

Malin
