From c874edf301adc7d15568a012db3672dc19a8ea33 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Fri, 17 Apr 2020 15:26:42 +0200 Subject: [PATCH] [fix] use specified nodejs version --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index a8a9c33..25da065 100644 --- a/scripts/install +++ b/scripts/install @@ -152,9 +152,9 @@ ynh_system_user_create --username=$app ynh_script_progression --message="Performing Node app installation..." --time --weight=1 pushd $final_path/src - ynh_debug_exec npm install node-gyp - ynh_debug_exec npm install - ynh_debug_exec npm audit fix + ynh_debug_exec $nodejs_path/npm install node-gyp + ynh_debug_exec $nodejs_path/npm install + ynh_debug_exec $nodejs_path/npm audit fix popd #=================================================