# Failed to load page using uibuilder due to Maximum call stack size exceeded

**URL:** <https://discourse.nodered.org/t/failed-to-load-page-using-uibuilder-due-to-maximum-call-stack-size-exceeded/66021>\
**Category:** General\
**Tags:** uibuilder\
**Created:** [4 August 2022 14:50 UTC](https://discourse.nodered.org/t/failed-to-load-page-using-uibuilder-due-to-maximum-call-stack-size-exceeded/66021 "2022-08-04T14:50:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex88](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alex88/32/55523_2.png) [@alex88](https://discourse.nodered.org/u/alex88)\
**Post date:** [4 August 2022 14:50 UTC](https://discourse.nodered.org/t/failed-to-load-page-using-uibuilder-due-to-maximum-call-stack-size-exceeded/66021/1 "2022-08-04T14:50:13Z")

</div>

Has anyone else experienced an issue today with loading pages when using uibuilder?

I have 3x Windows 10 machines that all did a scheduled update today, after which I could not load pages on Chrome. Since then I have done some testing with the following results:

Win 10 Chrome - does not work  
Win 10 Edge - does not work

Win 10 Mozilla - works  
Android Mobile - works  
Chromium Pi - works

I have done quite a few things including deleting the node\_modules folder followed by npm install and a rebuild of the project in VSC, but the issue persists.

I'm running  
uibuilder 5.1.1  
node-red 3.0.0  
chrome is on v104.0.5112.81 (Official Build)  
mozilla is on v103.0.1  
windows 10 is on 10.0.19044

The error in the console is this:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/0/c05e6816ca9c1922a43f82cb9a79fa003da6f4e1.png)

I hadn't changed any code or rebuilt the project since last night when it was working fine and it is still working, just not on Chrome and Edge.

EDIT: I even upgraded one of the devices to Win 11 to see if the problem would go away, but it didn't.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [4 August 2022 15:19 UTC](https://discourse.nodered.org/t/failed-to-load-page-using-uibuilder-due-to-maximum-call-stack-size-exceeded/66021/2 "2022-08-04T15:19:20Z")

</div>

Force a clear of the browser cache using the menus (don't rely on just key combinations).

---

<div class="post-metadata">

**Author:** ![alex88](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alex88/32/55523_2.png) [@alex88](https://discourse.nodered.org/u/alex88)\
**Post date:** [4 August 2022 15:31 UTC](https://discourse.nodered.org/t/failed-to-load-page-using-uibuilder-due-to-maximum-call-stack-size-exceeded/66021/3 "2022-08-04T15:31:49Z")

</div>

Thanks for the suggestion, but it didn't work.

I have been doing "empty cache and hard reload" all day long, but out of desperation did a complete clear down of all Chrome data, to no avail.

This issue is a really annoying one. Not sure where to turn next.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [4 August 2022 16:57 UTC](https://discourse.nodered.org/t/failed-to-load-page-using-uibuilder-due-to-maximum-call-stack-size-exceeded/66021/4 "2022-08-04T16:57:29Z")

</div>

Did you also clear the npm cache and delete the package-lock.json file before reinstalling as previously suggested?

---

<div class="post-metadata">

**Author:** ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Post date:** [4 August 2022 18:13 UTC](https://discourse.nodered.org/t/failed-to-load-page-using-uibuilder-due-to-maximum-call-stack-size-exceeded/66021/5 "2022-08-04T18:13:50Z")

</div>

In addition, update NR to 3.0.2

---

<div class="post-metadata">

**Author:** ![alex88](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alex88/32/55523_2.png) [@alex88](https://discourse.nodered.org/u/alex88)\
**Post date:** [4 August 2022 23:30 UTC](https://discourse.nodered.org/t/failed-to-load-page-using-uibuilder-due-to-maximum-call-stack-size-exceeded/66021/6 "2022-08-04T23:30:29Z")

</div>

This topic can be closed.

I didn't come up with a fix, instead I changed my compiler from Parcel to Vite and the pages load now.

However, it is not an easy migration as there are a number of differences in how Parcel and Vite work. These require quite a bit of research to workaround. I still have a few on my list to deal with tomorrow e.g. pages that don't format correctly.

If anyone is going to make the move across, I'd suggest you clear up a long afternoon/evening to get through it, depending on the size of your project!

PS: I am going to work off the assumption that the Windows Update coincidentally happened at the same time as the Chrome update, and that ultimately it was a browser driven issue. I can't account for the pages not working in Edge, however I don't use Edge, so maybe they never worked in Edge.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [5 August 2022 08:51 UTC](https://discourse.nodered.org/t/failed-to-load-page-using-uibuilder-due-to-maximum-call-stack-size-exceeded/66021/7 "2022-08-05T08:51:56Z")

</div>

Edge uses the same rendering and javascript engines as Chrome with a different skin.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [4 October 2022 08:52 UTC](https://discourse.nodered.org/t/failed-to-load-page-using-uibuilder-due-to-maximum-call-stack-size-exceeded/66021/8 "2022-10-04T08:52:25Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
