1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyseerr_ynh.git synced 2024-09-03 19:26:18 +02:00

don't install npm globally

This commit is contained in:
Thomas 2024-06-12 11:41:44 +02:00 committed by GitHub
parent 157d0389fe
commit 464828e045
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,12 +16,6 @@ ynh_script_progression --message="Installing dependencies..." --weight=5
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
# Upgrade NPM
ynh_npm install --global npm@latest
# Install Yarn
ynh_npm install --global yarn
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
@ -52,6 +46,7 @@ ynh_add_nginx_config
pushd $install_dir
ynh_use_nodejs
ynh_npm install yarn
ynh_script_progression --message="Fetching Yarn dev dependencies... This can be very long, be patient !" --weight=18
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --network-timeout=100000