Problem installing node-red-contrib-aedes

Hi All,

I had problems on flowfuse when I try to install node-red-contrib-aedes from Palette Manager.

On Logs I see following errors:

[node-red-contrib-aedes/aedes-mqtt-broker] Error: Cannot find module 'webidl-conversions' Require stack: - /data/node_modules/whatwg-url/lib/URL.js - /data/node_modules/whatwg-url/webidl2js-wrapper.js - /data/node_modules/whatwg-url/index.js - /data/node_modules/mongodb-connection-string-url/lib/index.js - /data/node_modules/mongodb/lib/connection_string.js - /data/node_modules/mongodb/lib/mongo_client.js - /data/node_modules/mongodb/lib/change_stream.js - /data/node_modules/mongodb/lib/index.js - /data/node_modules/aedes-persistence-mongodb/asyncPersistence.js - /data/node_modules/aedes-persistence-mongodb/persistence.js - /data/node_modules/node-red-contrib-aedes/aedes.js - /usr/src/node-red/node_modules/@node-red/registry/lib/loader.js - /usr/src/node-red/node_modules/@node-red/registry/lib/index.js - /usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/index.js - /usr/src/node-red/node_modules/@node-red/runtime/lib/index.js - /usr/src/node-red/node_modules/node-red/lib/red.js - /usr/src/node-red/node_modules/node-red/red.js

I try also to remove from Manage Palette but I have the error:

Unrecognised module: node-red-contrib-aedes

Thanks for suggestion.

node-red-contrib-aedes requires MongoDB by the looks of it - not sure that will be available in FlowFuse?

Probably best to change the category for this to FlowFuse so that one of the staff comments on it.

Doesn't flowfuse provide an MQTT broker for you? I don't use flowfuse but I thought that MQTT was integral to its use.

It doesn't require Mongo DB. You only need it if you want to use retained topics

[edit]

Well, it’s never been needed when I’ve installed it in the past but maybe something has changed :slight_smile:

This is the module that requires webidl-conversions so something is quite off.

However, I forgot to ask if the FF instance is cloud? Because it won't work.

It's a pro/enterprise feature.

After install node-red-contrib-mongodb4, remove the previous installation of node-red-contrib-aedes and re-install node-red-contrib-aedes the node is installed.

Now is working fine.

Thanks at all