Hello,
I have an issue with storage plugin and node module local installation.
I have written:
- a node-red-contrib-postgres-storage module meant to be used as a storageModule
- a node-red-contrib-flow-metadata module that contains a Node-RED node
Both are still in development, so I'd like to be able to install both locally.
My issue is:
- If I install only node-red-contrib-flow-metadata in ~/.node-red this way:
C:\Users\Admin.node-red> npm install node-red-contrib-flow-metadata
Then it works as expected, i.e. the new node is available in the palette, and node-red-contrib-flow-metadata is displayed underneath node-red in User Settings > Palette > Nodes
- if I install only node-red-contrib-postgres-storage in ~/.node-red this way:
C:\Users\Admin.node-red> npm install C:\workspace\node-red-contrib-postgres-storage --install-links
Then it works as expected, i.e. if I add this line to C:\Users\Admin.node-red\settings.js:
storageModule: require("node-red-contrib-postgres-storage"),
Then Node-RED uses the storage module as expected.
- But if I install both node-red-contrib-postgres-storage and node-red-contrib-flow-metadata in ~/.node-red, the storage still works, but the new node does not show up in the palette anymore, and node-red-contrib-flow-metadata is not displayed in User Settings > Palette > Nodes anymore
If I uninstall node-red-contrib-postgres-storage from ~/.node-red, then node-red-contrib-flow-metadata works again.
Has anyone had this issue before ? Should I raise an issue on the node-red GitHub ?
Thanks,
Romain