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 #=================================================