Unable to install node-red-contrib-azure-iot-hub 0.5.3 in Groov EPIC

Hi, I am working on Groov EPIC PR2 and want to connect to Azure-IOT-hub because my company uses azure for streaming and visualizing sensor data. When I try to install node-red-contrib-azure-iot-hub 0.5.3 i got the following error. Can someone help here on this. Error log is added here for reference.

024-03-20T08:16:17.120Z Install : @nodecolor/node-red-contrib-azure-iot-hub 0.5.3

2024-03-20T08:16:18.366Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict @nodecolor/node-red-contrib-azure-iot-hub@0.5.3
2024-03-20T08:16:45.854Z [err] npm
2024-03-20T08:16:45.855Z [err]
2024-03-20T08:16:45.855Z [err] WARN registry Using stale data from https://registry.npmjs.org/ because the host is inaccessible – are you offline?
2024-03-20T08:16:45.857Z [err] npm
2024-03-20T08:16:45.857Z [err] WARN
2024-03-20T08:16:45.858Z [err] registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
2024-03-20T08:17:04.701Z [err] npm
2024-03-20T08:17:04.702Z [err] ERR! code ENOTSUP
2024-03-20T08:17:04.788Z [err] npm
2024-03-20T08:17:04.788Z [err] ERR! notsup Unsupported engine for @azure/event-hubs@5.11.3: wanted: {“node”:“>=18.0.0”} (current: {“node”:“14.20.0”,“npm”:“6.14.17”})
2024-03-20T08:17:04.788Z [err] npm ERR!
2024-03-20T08:17:04.789Z [err] notsup Not compatible with your version of node/npm: @azure/event-hubs@5.11.3
2024-03-20T08:17:04.789Z [err] npm
2024-03-20T08:17:04.789Z [err] ERR! notsup
2024-03-20T08:17:04.789Z [err] Not compatible with your version of node/npm: @azure/event-hubs@5.11.3
2024-03-20T08:17:04.789Z [err] npm ERR!
2024-03-20T08:17:04.789Z [err] notsup Required: {“node”:“>=18.0.0”}
2024-03-20T08:17:04.789Z [err] npm
2024-03-20T08:17:04.790Z [err] ERR!
2024-03-20T08:17:04.790Z [err] notsup Actual: {“npm”:“6.14.17”,“node”:“14.20.0”}
2024-03-20T08:17:04.835Z [err]
2024-03-20T08:17:04.835Z [err] npm ERR! A complete log of this run can be found in:
2024-03-20T08:17:04.835Z [err] npm
2024-03-20T08:17:04.836Z [err] ERR! /home/dev/.npm/_logs/2024-03-20T08_17_04_795Z-debug.log

I guess the problem is the NPM and node.js versions on EPIC are not the required versions for that Node to install correct.

We are working on an updated firmware for EPIC.

@baskaran.b Gerhard is correct. The version of Node running on the PR2 is not high enough for the latest Azure node.
You could try installing an older version via the groov Manage Node-RED interface.

Hi @gerhardK @Beno Thanks for the response. Is it possible to update the NPM & node.js version without going for the EPIC firmware update?

I will look for older version of the azure-iot-hub and try it

Thanks

@baskaran.b Even if in theory you could try to update NPM and node.js using SSH access, it is not recommended, because other pieces of the several tools and applications on EPIC will propably brake.

There is a solution to push data into Azure. Enabling Ignition Edge on the EPIC and use the Cirrus Link Azure Cloud Injector Module for Edge.

@gerhardK Okay. But unfortunately Ignition Edge not opted while purchasing Groov EPIC. Ignition Edge comes with Groov EPIC by default?

@baskaran.b Yes, Ignition Edge is pre-installed on EPIC and you can use it in 2h trial mode with all functions. Once you decide to use it in an application, you can just install a Ignition Edge license and you are ready to go.
The Online-Training offers some information to get started.