# Node-red projects + uibuilder -\> NodeRED UI freeze for some time

**URL:** <https://discourse.nodered.org/t/node-red-projects-uibuilder-nodered-ui-freeze-for-some-time/43139>\
**Category:** General\
**Created:** [24 March 2021 18:31 UTC](https://discourse.nodered.org/t/node-red-projects-uibuilder-nodered-ui-freeze-for-some-time/43139 "2021-03-24T18:31:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eastling](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/eastling/32/39127_2.png) [@eastling](https://discourse.nodered.org/u/eastling)\
**Post date:** [24 March 2021 18:31 UTC](https://discourse.nodered.org/t/node-red-projects-uibuilder-nodered-ui-freeze-for-some-time/43139/1 "2021-03-24T18:31:04Z")

</div>

Hi,  
I wanted to use Nodered projects feature to get version control for the nodered flows and frontend (using uibuilder so all the frontend code also end up in the project folder).  
However what i noticed after running npm install inside the uibuilder instance folder was that nodered ui appeared to freeze after rendering. Realized later that it actually "unfroze" after some time (some minutes). After some testing back and forth it seems like its the shear number of libs in the node\_modules folder thats causing issues. So my question is if there is some folder within the project folder where its possible to place the frontend code without having the Node-RED ui scanning thru the files?  
So from my understanding this is not directly related to uibuilder but I included it in the topic since I guess thats a likely scenario for why anyone would have alot of libs in the project folder.

Best regards,  
Martin

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [24 March 2021 21:13 UTC](https://discourse.nodered.org/t/node-red-projects-uibuilder-nodered-ui-freeze-for-some-time/43139/2 "2021-03-24T21:13:59Z")

</div>

If you add a file called `.gitignore` in the project directory with the contents:

```auto
node_modules

```

then it should fix the immediate issue.

---

<div class="post-metadata">

**Author:** ![eastling](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/eastling/32/39127_2.png) [@eastling](https://discourse.nodered.org/u/eastling)\
**Post date:** [25 March 2021 05:22 UTC](https://discourse.nodered.org/t/node-red-projects-uibuilder-nodered-ui-freeze-for-some-time/43139/3 "2021-03-25T05:22:06Z")

</div>

Thank you so much!  
This was the first thing I did but I must have failed with the syntax.

---

<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:** [8 April 2021 05:22 UTC](https://discourse.nodered.org/t/node-red-projects-uibuilder-nodered-ui-freeze-for-some-time/43139/4 "2021-04-08T05:22:39Z")

</div>

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