From 55cf3b1b96c8ed2b06bdb1902ee44eb886d0f8d6 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 30 Dec 2023 08:49:00 +0100 Subject: [PATCH] use ynh_npm alias instead --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index f995e6a..6079a72 100644 --- a/scripts/install +++ b/scripts/install @@ -227,7 +227,7 @@ pushd "$final_path/live" ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle config without 'development test' ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle install -j$(getconf _NPROCESSORS_ONLN) ynh_use_nodejs - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH npm i corepack + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH ynh_npm i corepack ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH corepack enable ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH corepack prepare yarn@stable --activate ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn install --pure-lockfile