# Aedes broker is not installing

**URL:** https://discourse.nodered.org/t/aedes-broker-is-not-installing/63658
**Category:** General
**Tags:** mqtt
**Created:** [9 June 2022 06:49 UTC](https://discourse.nodered.org/t/aedes-broker-is-not-installing/63658 "2022-06-09T06:49:59Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![learnobyte](https://avatars.discourse-cdn.com/v4/letter/l/d6d6ee/32.png) [@learnobyte](https://discourse.nodered.org/u/learnobyte)
#### Post date: [9 June 2022 06:49 UTC](https://discourse.nodered.org/t/aedes-broker-is-not-installing/63658/1 "2022-06-09T06:49:59Z")

</div>

Hi,  
I have tried to install Mqtt- aedes broker, it is installed but showing error.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/0/a041be0ab998bc767ebbe10acad0435b9719a414.png)  
Showing  
Flows stopped due to missing node types.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/f/8f48824e69869b04d52c55edc4b66b95d6e575c3.png)  
how to solve this

---

<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: [9 June 2022 07:01 UTC](https://discourse.nodered.org/t/aedes-broker-is-not-installing/63658/2 "2022-06-09T07:01:31Z")

</div>

can you list out all contrib nodes you have installed please.

Also, can you show us the startup log (text that is written to console) from launching node-red to running

---

<div class="post-metadata">

### Author: ![learnobyte](https://avatars.discourse-cdn.com/v4/letter/l/d6d6ee/32.png) [@learnobyte](https://discourse.nodered.org/u/learnobyte)
#### Post date: [9 June 2022 07:40 UTC](https://discourse.nodered.org/t/aedes-broker-is-not-installing/63658/3 "2022-06-09T07:40:22Z")

</div>

Hi @Steve-Mcl pls find the start up log:

C:\Windows\system32\>node-red  
9 Jun 12:53:41 - [info]

# Welcome to Node-RED

9 Jun 12:53:41 - [info] Node-RED version: v2.2.2  
9 Jun 12:53:41 - [info] Node.js version: v14.0.0  
9 Jun 12:53:41 - [info] Windows\_NT 10.0.19043 x64 LE  
9 Jun 12:53:44 - [info] Loading palette nodes  
9 Jun 12:54:22 - [debug] append logging turning on logging next 111 log points  
9 Jun 12:54:22 - [info] append Copyright 2020 Jaroslav Peter Prib  
9 Jun 12:54:22 - [debug] Data Analysis logging turning on logging next 111 log points  
9 Jun 12:54:22 - [info] Data Analysis Copyright 2020 Jaroslav Peter Prib  
9 Jun 12:54:22 - [debug] Host Available logging turning on logging next 111 log points  
9 Jun 12:54:22 - [info] Host Available Copyright 2020 Jaroslav Peter Prib  
9 Jun 12:54:22 - [debug] Levenshtein Distance logging turning on logging next 111 log points  
9 Jun 12:54:22 - [info] Levenshtein Distance Copyright 2020 Jaroslav Peter Prib  
9 Jun 12:54:22 - [debug] LevenshteinDistance logging turning on logging next 111 log points  
9 Jun 12:54:22 - [info] LevenshteinDistance Copyright 2020 Jaroslav Peter Prib  
9 Jun 12:54:22 - [debug] Load Injector logging turning on logging next 111 log points  
9 Jun 12:54:22 - [info] Load Injector Copyright 2020 Jaroslav Peter Prib  
9 Jun 12:54:22 - [debug] Monitor Flow logging turning on logging next 111 log points  
9 Jun 12:54:22 - [info] Monitor Flow Copyright 2020 Jaroslav Peter Prib  
9 Jun 12:54:22 - [debug] os logging turning on logging next 111 log points  
9 Jun 12:54:22 - [info] os Copyright 2020 Jaroslav Peter Prib  
9 Jun 12:54:23 - [debug] Spawn Process logging turning on logging next 111 log points  
9 Jun 12:54:23 - [info] Spawn Process Copyright 2020 Jaroslav Peter Prib  
9 Jun 12:54:23 - [debug] test logging turning on logging next 111 log points  
9 Jun 12:54:23 - [info] test Copyright 2020 Jaroslav Peter Prib  
9 Jun 12:54:23 - [debug] transform logging turning on logging next 111 log points  
9 Jun 12:54:23 - [info] transform Copyright 2020 Jaroslav Peter Prib  
9 Jun 12:54:28 - [info] Dashboard version 3.1.6 started at /ui  
9 Jun 12:54:30 - [warn] ------------------------------------------------------  
9 Jun 12:54:30 - [warn] [node-red-contrib-aedes/aedes-mqtt-broker] SyntaxError: Unexpected token '('  
9 Jun 12:54:30 - [warn] ------------------------------------------------------  
9 Jun 12:54:30 - [info] Settings file : C:\Users\GuhiPradeep.node-red\settings.js  
9 Jun 12:54:30 - [info] Context store : 'default' [module=memory]  
9 Jun 12:54:30 - [info] User directory : \Users\GuhiPradeep.node-red  
9 Jun 12:54:30 - [warn] Projects disabled : editorTheme.projects.enabled=false  
9 Jun 12:54:30 - [info] Flows file : \Users\GuhiPradeep.node-red\flows.json  
9 Jun 12:54:30 - [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.

9 Jun 12:54:31 - [info] Waiting for missing types to be registered:  
9 Jun 12:54:31 - [info] - aedes broker  
9 Jun 12:54:31 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)

Contrib nodes:  
node-red-contrib-aedes  
node-red-contrib-bcrypt  
node-red-contrib-drawsvg  
node-red-contrib-focas  
node-red-contrib-loop-processing  
node-red-contrib-modbus  
node-red-contrib-moment  
node-red-contrib-omron-fins  
node-red-contrib-opcua  
node-red-contrib-postgresql  
node-red-contrib-postgrestor-next  
node-red-contrib-prib-functions  
node-red-contrib-pythonshell  
node-red-contrib-re-postgres  
node-red-contrib-s7  
node-red-contrib-twin-bcrypt  
node-red-contrib-ui-artless-gauge  
node-red-contrib-ui-led  
node-red-contrib-ui-media  
node-red-contrib-ui-svg  
node-red-contrib-users

---

<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: [9 June 2022 07:47 UTC](https://discourse.nodered.org/t/aedes-broker-is-not-installing/63658/4 "2022-06-09T07:47:31Z")

</div>

> [@learnobyte](#):
>
> [node-red-contrib-aedes/aedes-mqtt-broker] SyntaxError: Unexpected token '('

Have you modified the src code for this node? Seems odd.

I would uninstall and re-install from command line...

```auto
cd C:\Users\GuhiPradeep\.node-red
npm remove node-red-contrib-aedes
npm install node-red-contrib-aedes

```

then restart

---

<div class="post-metadata">

### Author: ![learnobyte](https://avatars.discourse-cdn.com/v4/letter/l/d6d6ee/32.png) [@learnobyte](https://discourse.nodered.org/u/learnobyte)
#### Post date: [9 June 2022 09:35 UTC](https://discourse.nodered.org/t/aedes-broker-is-not-installing/63658/5 "2022-06-09T09:35:00Z")

</div>

@Steve-Mcl Have you modified the src code for this node? - no

the node is not appearing in search list. it is not showing.  
Startup log will be same,

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

---

<div class="post-metadata">

### Author: ![learnobyte](https://avatars.discourse-cdn.com/v4/letter/l/d6d6ee/32.png) [@learnobyte](https://discourse.nodered.org/u/learnobyte)
#### Post date: [9 June 2022 09:38 UTC](https://discourse.nodered.org/t/aedes-broker-is-not-installing/63658/6 "2022-06-09T09:38:36Z")

</div>

C:\Windows\system32\>node-red  
9 Jun 15:03:37 - [info]

# Welcome to Node-RED

9 Jun 15:03:37 - [info] Node-RED version: v2.2.2  
9 Jun 15:03:37 - [info] Node.js version: v14.0.0  
9 Jun 15:03:37 - [info] Windows\_NT 10.0.19043 x64 LE  
9 Jun 15:03:45 - [info] Loading palette nodes  
9 Jun 15:04:46 - [info] Dashboard version 3.1.6 started at /ui  
9 Jun 15:07:09 - [warn] ------------------------------------------------------  
9 Jun 15:07:09 - [warn] [node-red-contrib-focas/focas] Error: Cannot find module '@protocols/node-focas'  
Require stack:

- C:\Users\GuhiPradeep\node\_modules\node-red-contrib-focas\red\focas.js
- C:\Users\GuhiPradeep\AppData\Roaming\npm\node\_modules\node-red\node\_modules@node-red\registry\lib\loader.js
- C:\Users\GuhiPradeep\AppData\Roaming\npm\node\_modules\node-red\node\_modules@node-red\registry\lib\index.js
- C:\Users\GuhiPradeep\AppData\Roaming\npm\node\_modules\node-red\node\_modules@node-red\runtime\lib\nodes\index.js
- C:\Users\GuhiPradeep\AppData\Roaming\npm\node\_modules\node-red\node\_modules@node-red\runtime\lib\index.js
- C:\Users\GuhiPradeep\AppData\Roaming\npm\node\_modules\node-red\lib\red.js
- C:\Users\GuhiPradeep\AppData\Roaming\npm\node\_modules\node-red\red.js  
9 Jun 15:07:09 - [warn] ------------------------------------------------------  
9 Jun 15:07:09 - [info] Settings file : C:\Users\GuhiPradeep.node-red\settings.js  
9 Jun 15:07:09 - [info] Context store : 'default' [module=memory]  
9 Jun 15:07:09 - [info] User directory : \Users\GuhiPradeep.node-red  
9 Jun 15:07:09 - [warn] Projects disabled : editorTheme.projects.enabled=false  
9 Jun 15:07:09 - [info] Flows file : \Users\GuhiPradeep.node-red\flows.json  
9 Jun 15:07:09 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)  
9 Jun 15:07:10 - [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.

9 Jun 15:07:11 - [info] Starting flows  
9 Jun 15:07:11 - [error] [users\_config:d8c1a479f4df1e06] Node users config is missing  
9 Jun 15:07:12 - [info] Started flows  
9 Jun 15:07:13 - [error] [function:SVG output animation] SyntaxError: Unexpected token '}' (body:line 10)  
connection released  
connection released  
connection released  
connection released  
connection released  
connection released  
9 Jun 15:07:18 - [error] [postgrestor:27b1f81505fc8c66] error: invalid input syntax for type smallint: ""  
connection released  
connection released  
connection released  
connection released  
connection released  
connection released  
connection released

---

<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: [9 June 2022 09:56 UTC](https://discourse.nodered.org/t/aedes-broker-is-not-installing/63658/7 "2022-06-09T09:56:16Z")

</div>

> [@learnobyte](#):
>
> the node is not appearing in search list. it is not showing

Did you follow the instructions precisely?

> [@Steve-Mcl](#):
>
> ```auto
> cd C:\Users\GuhiPradeep\.node-red
> npm remove node-red-contrib-aedes
> npm install node-red-contrib-aedes
> 
> ```

It looks like you didnt run `npm install node-red-contrib-aedes` or you ran it in the wrong directory

  

Also, can you run...

```auto
cd C:\Users\GuhiPradeep\.node-red
npm list node-red-contrib-aedes

```

and run...

```auto
npm list node-red-contrib-aedes -g

```

---

<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: [9 June 2022 11:11 UTC](https://discourse.nodered.org/t/aedes-broker-is-not-installing/63658/8 "2022-06-09T11:11:43Z")

</div>

> [@learnobyte](#):
>
> aedes

Is there a good reason for you to use this? It is nowhere near as performant or easy to use as the stand-alone Mosquitto broker which is what most of us prefer and recommend.

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [9 June 2022 11:50 UTC](https://discourse.nodered.org/t/aedes-broker-is-not-installing/63658/9 "2022-06-09T11:50:00Z")

</div>

> [@TotallyInformation](#):
>
> or easy to use

I would argue that point

Using the aedes node is very easy to install and use for simple stuff.

Mosquitto is the tool for the people doing more than that

---

<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: [9 June 2022 11:59 UTC](https://discourse.nodered.org/t/aedes-broker-is-not-installing/63658/10 "2022-06-09T11:59:28Z")

</div>

> [@cymplecy](#):
>
> Using the aedes node is very easy to install and use for simple stuff.

It is entirely up to each individual of course.

However, even though very few people are using it, we regularly see problems surfacing in the forum. Also it is very resource heavy and performance can, therefore, be pretty dreadful.

And, of course, if you do want something as simple as persistent retention of retained messages, then it isn't at all simple as you will need to independently install MongoDB (with then even greater resource overheads).

Since, in most cases, Mosquitto is available in Linux repositories, its installation for the majority of people is very simple and its default configuration is almost certainly enough for 90%+ of installations.

---

<div class="post-metadata">

### Author: ![learnobyte](https://avatars.discourse-cdn.com/v4/letter/l/d6d6ee/32.png) [@learnobyte](https://discourse.nodered.org/u/learnobyte)
#### Post date: [10 June 2022 02:50 UTC](https://discourse.nodered.org/t/aedes-broker-is-not-installing/63658/11 "2022-06-10T02:50:19Z")

</div>

I have followed the steps, pls find the logs, still the aedes not shown up in list

C:\Users\GuhiPradeep.node-red\>npm remove node-red-contrib-aedes  
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node\_modules\fsevents):  
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

removed 49 packages and audited 592 packages in 25.237s

63 packages are looking for funding  
run `npm fund` for details

found 0 vulnerabilities

C:\Users\GuhiPradeep.node-red\>npm install node-red-contrib-aedes  
npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.  
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node\_modules\fsevents):  
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

- node-red-contrib-aedes@0.8.1  
added 49 packages from 49 contributors and audited 641 packages in 61.956s

65 packages are looking for funding  
run `npm fund` for details

found 0 vulnerabilities

C:\Users\GuhiPradeep.node-red\>npm list node-red-contrib-aedes  
node-red-project@0.0.1 C:\Users\GuhiPradeep.node-red  
`-- node-red-contrib-aedes@0.8.1

C:\Users\GuhiPradeep.node-red\>npm list node-red-contrib-aedes -g  
C:\Program Files\nodejs  
`-- (empty)

C:\Users\GuhiPradeep.node-red\>

---

<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: [9 August 2022 02:50 UTC](https://discourse.nodered.org/t/aedes-broker-is-not-installing/63658/12 "2022-08-09T02:50:59Z")

</div>

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