From 7995196cff2f2b96fdef9ac193ae763a7ce60ed7 Mon Sep 17 00:00:00 2001 From: TEMAndroid Date: Fri, 16 May 2025 23:09:02 +0300 Subject: [PATCH] Fast fix for old version nodejs (#15912) * Fast fix for old version nodejs Fixing error required: { node: '^18.0.0 || >=20.0.0' }, current: { node: 'v16.13.1', npm: '8.5.0' } * Use node js 18 by default to align with official docs --------- Co-authored-by: Seth Foster --- awx/ui/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/Makefile b/awx/ui/Makefile index 59a90af77f..16c1fae902 100644 --- a/awx/ui/Makefile +++ b/awx/ui/Makefile @@ -87,7 +87,7 @@ ui/src/webpack: $(UI_DIR)/src/node_modules/webpack ## True target for ui/src/webpack. $(UI_DIR)/src/node_modules/webpack: @echo "=== Installing webpack ===" - @cd $(UI_DIR)/src && npm install webpack + @cd $(UI_DIR)/src && n 18 && npm install webpack .PHONY: clean/ui ## Clean ui