From 2b458f7e0be90e546bfcaf4b1ea4a484724db85f 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:17:12 +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 9b271f0..1f9c0a4 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=16 + ynh_exec_warn_less ynh_install_nodejs --nodejs_version=18 ynh_use_nodejs node_path=$nodejs_path:$(sudo -u $app sh -c 'echo $PATH') }