diff --git a/scripts/install b/scripts/install index e87f051..5f0983b 100755 --- a/scripts/install +++ b/scripts/install @@ -16,13 +16,6 @@ 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 - -# Install vite -ynh_npm install --global vite - - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= @@ -53,7 +46,8 @@ ynh_script_progression --message="Building __APP__..." pushd $install_dir ynh_use_nodejs - + ynh_npm install yarn + ynh_npm install vite ynh_script_progression --message="npm install... This can be very long, be patient !" --weight=18 ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install --network-timeout=100000