From e2eb61946992458559af2401c33dc7abc3fff509 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 27 Jan 2024 09:44:18 +0100 Subject: [PATCH] use ynh_npm --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index f995e6a..ec9179a 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