From 8fb85c33a1f6666e6d67f50bfb0a0478ee30d3d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 10 Feb 2024 15:39:24 +0100 Subject: [PATCH] Update _common.sh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 1f9c0a4..9b271f0 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -111,7 +111,7 @@ function set_node_vars { if [ $nodejs_version -ne 16 ]; then ynh_exec_warn_less ynh_remove_nodejs fi - ynh_exec_warn_less ynh_install_nodejs --nodejs_version=18 + ynh_exec_warn_less ynh_install_nodejs --nodejs_version=16 ynh_use_nodejs node_path=$nodejs_path:$(sudo -u $app sh -c 'echo $PATH') }