From 55b790e1fbd3d7a0a3e76cf82689cd32dce511c5 Mon Sep 17 00:00:00 2001 From: Kelly Campbell Date: Fri, 11 Oct 2024 05:24:48 -0400 Subject: [PATCH] Pin node-red dependencies in nodered Dockerfile (#50) * Pin node-red-node-ui-table to 0.4.3 in Dockerfile This fixes a new issue which node-red-node-ui-table 0.4.4 added which causes this warning and the UI no longer loads: Node module cannot be loaded on this version. Requires: >=3.0.0 Fixes #49 Signed-off-by: Kelly Campbell * Pin all node-red npm dependencies in nodered Dockerfile Signed-off-by: Kelly Campbell --------- Signed-off-by: Kelly Campbell --- docker/images/nodered/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/images/nodered/Dockerfile b/docker/images/nodered/Dockerfile index e44d7b0..65be679 100644 --- a/docker/images/nodered/Dockerfile +++ b/docker/images/nodered/Dockerfile @@ -1,5 +1,5 @@ FROM nodered/node-red:2.2.3 -RUN npm install node-red-dashboard -RUN npm install node-red-contrib-ui-actions -RUN npm install node-red-node-ui-table -RUN npm install node-red-contrib-ui-level +RUN npm install node-red-dashboard@3.6.5 +RUN npm install node-red-contrib-ui-actions@0.1.8 +RUN npm install node-red-node-ui-table@0.4.3 +RUN npm install node-red-contrib-ui-level@0.1.46