Hi @bertrand.gauvreau this process is only for Gateway’s users. If you are using Modem and a windows pc, try the follow steps:
1 Stop Node-RED: Open the command prompt window where Node-RED is running.
Press Ctrl + C to stop the Node-RED service.
2 Navigate to the Node-RED directory: Open a new command prompt window and enter:
cd .node-red
Press Enter to execute the command.
3 Uninstall the existing NCD library: Run the following command to remove the current version:
npm uninstall @ncd-io/node-red-enterprise-sensors
Press Enter and wait for the process to complete.
4 Install the temporary branch: Run this command on the command prompt window to install the temp-dev branch manually:
npm install https://github.com/ncd-io/node-red-enterprise-sensors/tree/temp-dev
Press Enter and wait for the installation to complete.
5 Restart Node-RED: Once the installation is complete, start Node-RED by typing:
node-red
Press Enter to launch the service.
NOTE: In case you get a npm error code ENOENT syscall spawn git, I would recommend to follow this steps:
1 Install git in your Windows machine, follow this: Git - Install for Windows
Be sure to select Git from the command line and also for 3rd-party software (recommended) during the adjusting your PATH environmet setup, once installation is completed, close and open a new command prompt window and type:
cd .node-red
Press Enter to execute the command, then type:
npm install https://github.com/ncd-io/node-red-enterprise-sensors/tree/temp-dev
Press Enter and wait for the installation to complete.
Thanks.