Run Node RED and TULIP Nodes on a local Docker

Hi all !

I’m new to TULIP and NODE RED.
I bought 2 EDGE IO that are running Node RED perfectly and that are connected to my TULIP instance with the API nodes.
Everything is working fine on the EDGE IO.

My subject today is :
Is it possible to run Node RED on a local docker and to use the TULIP Nodes directly from this docker ?

I already installed Docker Desktop, it works fine and I managed to Run Node RED on http://localhost:1880/.
But I cannot install the TULIP node because the install shows errors.

Does anybody has done this ? Could you please make a short tutorial on how to do it ?

Thanks a lot !
Paul

Can you share more about the error message you are seeing?

This support article has the step by step instructions for adding the Tulip nodes to a local NR instance. So I imagine that either there is a bug with the latest version of the Tulip Nodes, or something about your docker configuration is having trouble.

Hi Daniel,

Here is the type of error I had :
2024-06-25T18:47:51.293Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-loop@1.0.1
2024-06-25T18:47:51.797Z [err] npm
2024-06-25T18:47:51.797Z [err] WARN config production Use --omit=dev instead.
2024-06-25T18:49:02.497Z [err] npm ERR! code
2024-06-25T18:49:02.497Z [err] SELF_SIGNED_CERT_IN_CHAIN
2024-06-25T18:49:02.497Z [err] npm ERR! errno SELF_SIGNED_CERT_IN_CHAIN
2024-06-25T18:49:02.501Z [err] npm
2024-06-25T18:49:02.502Z [err] ERR!
2024-06-25T18:49:02.502Z [err] request to https://registry.npmjs.org/node-red-contrib-loop failed, reason: self signed certificate in certificate chain
2024-06-25T18:49:02.507Z [err]
2024-06-25T18:49:02.507Z [err] npm ERR! A complete log of this run can be found in:
2024-06-25T18:49:02.507Z [err] npm
2024-06-25T18:49:02.507Z [err] ERR!
2024-06-25T18:49:02.507Z [err] /data/.npm/_logs/2024-06-25T18_47_51_754Z-debug-0.log
2024-06-25T18:49:02.521Z rc=1

I copy/paste the error in ChatGPT and it advised me to run the following command :
npm config set strict-ssl false

Not sur to understand what this command did but it worked !
I managed to install the TULIP nodes thanks to the palette.

1 Like

Yes, this seems more like an issue with your node set up. Consider upgrading to a more recent version of node js in the docker container.

Some good stackoverflow conversation here.

1 Like