From a19729cdb85929f6a634c254e7b5fcdd595909da Mon Sep 17 00:00:00 2001 From: lapineige Date: Wed, 27 Dec 2023 17:30:05 +0100 Subject: [PATCH] do not install npm globally --- scripts/install | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/install b/scripts/install index 6cf9a01..f187337 100644 --- a/scripts/install +++ b/scripts/install @@ -163,7 +163,6 @@ ynh_script_progression --message="Building Yarn dependencies..." pushd "$final_path" ynh_use_nodejs - npm install -g npm ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn config set network-timeout 300000 ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --production --pure-lockfile ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean