From 3358f7a98783f056f23147b9cbfe7886b3a7514f Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Mon, 8 May 2023 21:32:30 +0200 Subject: [PATCH] fix --- scripts/install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 96d1e83..3bbf220 100755 --- a/scripts/install +++ b/scripts/install @@ -16,6 +16,9 @@ ynh_script_progression --message="Installing dependencies..." --weight=5 ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version +# Install Yarn +ynh_npm install --global yarn + #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= @@ -46,8 +49,6 @@ ynh_add_nginx_config ynh_script_progression --message="Building app..." --weight=30 pushd $install_dir -# Install Yarn - ynh_npm install --global yarn ynh_use_nodejs ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --production --pure-lockfile --network-timeout=30000 ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn run build