# Node-red Multiple Projects

**URL:** <https://discourse.nodered.org/t/node-red-multiple-projects/49404>\
**Category:** General\
**Created:** [6 August 2021 00:47 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404 "2021-08-06T00:47:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![T3chn0](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@T3chn0](https://discourse.nodered.org/u/T3chn0)\
**Post date:** [6 August 2021 00:47 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/1 "2021-08-06T00:47:58Z")

</div>

Hi, ive been searching for something like this plugin:  
[https://flows.nodered.org/flow/d34840c03abc4af11bd2bb8b2dba6a9d](https://flows.nodered.org/flow/d34840c03abc4af11bd2bb8b2dba6a9d)

But when i installed it doesnt show up the menu for create projects, i dont want to RUN multiple projects i only want to organice flows from different projects what i'm doing wrong?

when i install from console it says bootstrap popper and jquery missing or something like that, please help!

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [6 August 2021 02:05 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/2 "2021-08-06T02:05:36Z")

</div>

That node hasn’t been updated in over 5 years so I wouldn’t hold out much hope for getting it working.

---

<div class="post-metadata">

**Author:** ![T3chn0](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@T3chn0](https://discourse.nodered.org/u/T3chn0)\
**Post date:** [6 August 2021 02:19 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/3 "2021-08-06T02:19:20Z")

</div>

you are right... but how can i separate my flows in a way like "projects"

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [6 August 2021 06:00 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/4 "2021-08-06T06:00:32Z")

</div>

Maybe the docs on projects ? [Projects : Node-RED](https://nodered.org/docs/user-guide/projects/)

---

<div class="post-metadata">

**Author:** ![T3chn0](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@T3chn0](https://discourse.nodered.org/u/T3chn0)\
**Post date:** [6 August 2021 06:47 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/6 "2021-08-06T06:47:54Z")

</div>

Yes, I already looked for that, I already read it, the issue is that it is not what I need, this works a lot with git and what I want is something like the plugin that I put at the beginning, I hope you can help me, or, if someone tries to install the link I posted at the beginning and can make it work

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [6 August 2021 09:13 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/7 "2021-08-06T09:13:13Z")

</div>

> [@T3chn0](#):
>
> this works a lot with git

What is wrong with installing Git?

> [@T3chn0](#):
>
> I hope you can help me, or, if someone tries to install the link I posted at the beginning and can make it work

As I posted before, it hasn't been updated in over 5 years. In addition the author posted this on GitHub

> **[valdepeace](https://github.com/valdepeace)** commented [on May 24, 2017](https://github.com/valdepeace/node-red-contrib-multiproject/issues/9#issuecomment-303786508)
> 
> I have the project stopped because i not had time, i have a lot of work. It was compatible until version 0.14.6, but I will start again from tomorrow for the new version of node-red.

I would say that this node has been abandoned. The only two forks of the project haven't been touched in 5 years eithor.

This basically leaves you with two choices

1. fix the code yourself
2. find some other way to do what you want to do.

The project feature works great and you don't have to store your projects on GitHub then can be stored on your local device.

---

<div class="post-metadata">

**Author:** ![T3chn0](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@T3chn0](https://discourse.nodered.org/u/T3chn0)\
**Post date:** [6 August 2021 20:06 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/8 "2021-08-06T20:06:24Z")

</div>

hi, thanks for helping me! there is no problem on using / installing git, i tried to install enabling projects as suggested... BUTit e  
if i run from the .node-red directory it doesnt start if i ran the command in a cmd it runs but in the browser stays "stuck" when loading modules it reaches to the last but the ui never loads i.e: Loading Nodes 61/61...  
also an alert says failed to load 'node-red / comment'

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

---

<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:** [6 August 2021 20:42 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/9 "2021-08-06T20:42:30Z")

</div>

Do you only get that error with projects enabled? That would be very strange as the projects feature doesn't touch how the palette is loaded in the editor.

Can you check the browser javascript console for any error messages?

---

<div class="post-metadata">

**Author:** ![T3chn0](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@T3chn0](https://discourse.nodered.org/u/T3chn0)\
**Post date:** [6 August 2021 20:54 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/10 "2021-08-06T20:54:17Z")

</div>

> [@T3chn0](#):
>
> stuck"

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/b/eb793904329a68803f64f93d6087ca01624fef5c.png)

---

<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:** [6 August 2021 21:01 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/11 "2021-08-06T21:01:43Z")

</div>

How did you install Node-RED? Have you customised or modified the code at all?

The function `RED.projects.refresh` does exist in a proper build of the code.

---

<div class="post-metadata">

**Author:** ![T3chn0](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@T3chn0](https://discourse.nodered.org/u/T3chn0)\
**Post date:** [6 August 2021 22:36 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/12 "2021-08-06T22:36:06Z")

</div>

as in the site....  
normal nothing weird just installed node.js and then npm install --unsafe node-red //or something like that was the command (i repeat is the way that says in the web of node red)

i see other people that have uninstalled everything and installed everything again and it works!

i dont know how to get work the projects in node-red

---

<div class="post-metadata">

**Author:** ![T3chn0](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@T3chn0](https://discourse.nodered.org/u/T3chn0)\
**Post date:** [6 August 2021 22:42 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/13 "2021-08-06T22:42:20Z")

</div>

here is the output on the console when starts:

# Welcome to Node-RED

6 Aug 19:37:28 - [info] Node-RED version: v2.0.5  
6 Aug 19:37:28 - [info] Node.js version: v12.14.0  
6 Aug 19:37:28 - [info] Windows\_NT 6.3.9600 x64 LE  
6 Aug 19:37:33 - [info] Loading palette nodes  
6 Aug 19:37:57 - [info] +-----------------------------------------------------  
6 Aug 19:38:28 - [info] | uibuilder initialised:  
6 Aug 19:38:28 - [info] | root folder: \Users\T3chn0.node-red\uibuilder  
6 Aug 19:38:28 - [info] | version . .: 2.0.7  
6 Aug 19:38:28 - [info] | packages . : vue,bootstrap,bootstrap-vue,angular,[socket.io](http://socket.io),jquery  
6 Aug 19:38:28 - [info] +-----------------------------------------------------  
6 Aug 19:38:30 - [info] Dashboard version 2.19.3 started at /ui  
It looks like serialport didn't compile properly. This is a common problem and its fix is well docum  
ented here [GitHub - serialport/node-serialport: Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!](https://github.com/voodootikigod/node-serialport#to-install)  
The result of requiring the package is: undefined  
6 Aug 19:38:33 - [warn] ------------------------------------------------------  
6 Aug 19:38:33 - [warn] [node-red-node-arduino/arduino] Missing serialport dependency  
6 Aug 19:38:33 - [warn] ------------------------------------------------------  
6 Aug 19:38:33 - [info] Settings file : \Users\T3chn0.node-red\settings.js  
6 Aug 19:38:33 - [info] Context store : 'default' [module=memory]  
6 Aug 19:38:33 - [info] User directory : \Users\T3chn0.node-red  
6 Aug 19:38:33 - [info] Projects directory: C:\Users\T3chn0.node-red\projects  
6 Aug 19:38:33 - [warn] No active project : using default flows file  
6 Aug 19:38:33 - [warn] Flows file name not set. Generating name using hostname.  
6 Aug 19:38:33 - [info] Flows file : \Users\T3chn0.node-red\flows\_SR-Jhon.json  
6 Aug 19:38:33 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)  
6 Aug 19:38:33 - [warn]

* * *

Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials  
file will not be recoverable, you will have to delete it and re-enter  
your credentials.

## You should set your own key using the 'credentialSecret' option in your settings file. Node-RED will then re-encrypt your credentials file using your chosen key the next time you deploy a change.

6 Aug 19:38:33 - [info] Starting flows  
6 Aug 19:38:34 - [info] Started flows  
6 Aug 19:38:34 - [info] [mqtt-broker:mosquitto] Connected to broker: mqtt://localhost:1883  
6 Aug 19:38:56 - [warn] [ui\_base:77badd54.6fe014] C:\Users\T3chn0\node\_modules\node-red-dashboard\di  
st\js\gridstack.min.map not found. Maybe running in dev mode.  
6 Aug 19:38:56 - [warn] [ui\_base:77badd54.6fe014] C:\Users\T3chn0\node\_modules\node-red-dashboard\di  
st\js\gridstack.min.map not found. Maybe running in dev mode.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [7 August 2021 07:01 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/14 "2021-08-07T07:01:46Z")

</div>

> [@T3chn0](#):
>
> It looks like serialport didn't compile properly. This is a common problem and its fix is well docum  
> ented here [GitHub - serialport/node-serialport: Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!](https://github.com/voodootikigod/node-serialport#to-install)  
> The result of requiring the package is: undefined  
> 6 Aug 19:38:33 - [warn] ------------------------------------------------------  
> 6 Aug 19:38:33 - [warn] [node-red-node-arduino/arduino] Missing serialport dependency

You need to fix these.

1. install build tools
2. Reinstall Arduino node

#### Details....

Open an administrative CMD prompt (right click cmd, run as administrator)

```auto
npm install --global windows-build-tools

```

This can take quite some time and appear to not doing anything for 30 mins - wait for it to finish.

Then from your .node-red directory, `npm install node-red-node-arduino/arduino`

* * *

This will reinstall the serial port and compile the bindings for your system.

---

<div class="post-metadata">

**Author:** ![T3chn0](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@T3chn0](https://discourse.nodered.org/u/T3chn0)\
**Post date:** [7 August 2021 07:22 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/15 "2021-08-07T07:22:56Z")

</div>

Hi, thanks for your help i will try AND post the results here!

The strange part Is when i remove the project from settings.js file ir works.

If i actívate project again it stuck in loading nodes

---

<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:** [7 August 2021 07:40 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/16 "2021-08-07T07:40:42Z")

</div>

> [@T3chn0](#):
>
> The strange part Is when i remove the project from settings.js file ir works.
> 
> If i actívate project again it stuck in loading nodes

The error is happening because your install appears to be missing parts of the projects code in the editor. This is why it hits an error when you enable projects.

The strange thing is the entire editor code is in a single file, `red.min.js` - it can't just lose bits of it.

This is why I asked how you installed and if you'd been modifying the code.

You may need to reinstall to see if that fixes it.

---

<div class="post-metadata">

**Author:** ![T3chn0](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@T3chn0](https://discourse.nodered.org/u/T3chn0)\
**Post date:** [8 August 2021 05:53 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/17 "2021-08-08T05:53:53Z")

</div>

it takes his time.... after that i ran the first command --\>npm install --global windows-build-tools  
when i try the second one --\>npm install node-red-node-arduino/arduino

it ask me to update .Net framework...  
i did it and now...

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/5/85c1fdd3ddce9e7360145612595cfb82ead1a277.png)

---

<div class="post-metadata">

**Author:** ![T3chn0](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@T3chn0](https://discourse.nodered.org/u/T3chn0)\
**Post date:** [8 August 2021 06:29 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/18 "2021-08-08T06:29:14Z")

</div>

Ok after executed in admin mode cmd... FINALY it prompts me to acces my git account 🙂  
BUT  
keeps Stuck... ☹

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/8/188e3a919fb19c35645ed480988b623ad341ff94.png)  
if i go to: [GitHub - serialport/node-serialport: Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!](https://github.com/voodootikigod/node-serialport#to-install)  
it doesnt exists.... or is too old

Question: Can i remove uninstall \<-- Whatever!!!!  
it doesnt matter the serial port doesn work i will fix that later.... but for now is there any solution to get rid of this?

---

<div class="post-metadata">

**Author:** ![T3chn0](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@T3chn0](https://discourse.nodered.org/u/T3chn0)\
**Post date:** [8 August 2021 06:43 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/19 "2021-08-08T06:43:59Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/9/c956fa6faa0ef4a4f758b4e78abee0a2a2f6d4fe.png)  
installed no more errors on the serial port i have to add popper.js from --\>npm i @popperjs/core  
and then --\> npm install node-red-node-arduino

now it loads 62 nodes and....Stucks! \>:c

---

<div class="post-metadata">

**Author:** ![T3chn0](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@T3chn0](https://discourse.nodered.org/u/T3chn0)\
**Post date:** [9 August 2021 05:51 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/20 "2021-08-09T05:51:33Z")

</div>

I tried everything but finally deleting the folder .node-red solved \<-- in this point i just wanted to start from 0.....

the weird part is that i thought that have to reinstall but for some reason just typed node-red in a terminal and... it started anyway and created the .node-red folder again...

now settings.js has changed the project setting was like this:

editorTheme: {  
/\*\* The following property can be used to set a custom theme for the editor.  
\* See [GitHub - node-red-contrib-themes/theme-collection: Collection of Node-RED themes published by the Node-RED Contrib Themes team](https://github.com/node-red-contrib-themes/theme-collection) for  
\* a collection of themes to chose from.  
_/  
//theme: "",  
palette: {  
/_\* The following property can be used to order the categories in the editor  
\* palette. If a node's category is not in the list, the category will get  
\* added to the end of the palette.  
\* If not set, the following default order is used:  
_/  
//categories: ['subflows', 'common', 'function', 'network', 'sequence', 'parser', 'storage'],  
},  
projects: {  
/_\* To enable the Projects feature, set this value to true _/  
enabled: true,  
workflow: {  
/_\* Set the default projects workflow mode.  
\* - manual - you must manually commit changes  
\* - auto - changes are automatically committed  
\* This can be overridden per-user from the 'Git config'  
\* section of 'User Settings' within the editor  
\*/  
mode: "manual"  
}  
},

i don't know why but it's working now 🙂

---

<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:** [23 August 2021 05:52 UTC](https://discourse.nodered.org/t/node-red-multiple-projects/49404/21 "2021-08-23T05:52:11Z")

</div>

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