From 8815a131ac363a08fc3334aec710bb8428132e1e Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Mon, 14 Aug 2023 15:40:02 +0200 Subject: [PATCH] try proposed fix --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 27a5f68..f821d15 100755 --- a/scripts/install +++ b/scripts/install @@ -57,7 +57,7 @@ pushd $install_dir ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --network-timeout=30000 # fix issue "Type error: Cannot find module 'pulltorefreshjs' or its corresponding type declarations." - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn add pulltorefreshjs + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH npm i --save-dev @types/pulltorefreshjs ynh_script_progression --message="Building Yarn dev dependencies... This can be very long, be patient !" --weight=25 ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn run build diff --git a/scripts/upgrade b/scripts/upgrade index 29207a3..01eb7e0 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -57,7 +57,7 @@ pushd $install_dir ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --network-timeout=30000 # fix issue "Type error: Cannot find module 'pulltorefreshjs' or its corresponding type declarations." - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn add pulltorefreshjs + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH npm i --save-dev @types/pulltorefreshjs ynh_script_progression --message="Building Yarn dev dependencies... This can be very long, be patient !" --weight=25 ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn run build