From bd3b1836e84dab3e47e61bef2b49f69d4610d120 Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 13 Feb 2019 04:14:57 -0500 Subject: [PATCH] Update main.yml --- roles/nodered/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/nodered/tasks/main.yml b/roles/nodered/tasks/main.yml index 47adb0e66..a85c8d839 100644 --- a/roles/nodered/tasks/main.yml +++ b/roles/nodered/tasks/main.yml @@ -24,6 +24,8 @@ - name: "Globally 'npm install' 3 Node-RED packages: node-red, node-red-admin, node-red-dashboard" command: npm install -g --unsafe-perm node-red node-red-admin node-red-dashboard + #command: npm install -g --unsafe-perm node-red@latest node-red-admin@latest node-red-dashboard@latest + # Above "@latest" is recommended by https://nodered.org/docs/hardware/raspberrypi (SHOULD WE CONSIDER?) when: nodered_install and internet_available - name: "Globally 'npm install' 8 Node-RED learning examples for RPi: node-red-contrib-ibm-watson-iot, node-red-contrib-play-audio, node-red-node-ledborg, node-red-node-ping, node-red-node-pi-sense-hat, node-red-node-random, node-red-node-serialport, node-red-node-smooth"