1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyseerr_ynh.git synced 2024-09-03 19:26:18 +02:00
This commit is contained in:
Thomas 2023-08-14 12:52:01 +02:00 committed by GitHub
parent 5e34b317ca
commit 7aa7f7e2bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View file

@ -22,8 +22,6 @@ ynh_npm install --global npm@latest
# Install Yarn # Install Yarn
ynh_npm install --global yarn ynh_npm install --global yarn
npm cache clean --force
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================
@ -56,7 +54,7 @@ pushd $install_dir
ynh_use_nodejs ynh_use_nodejs
ynh_script_progression --message="Fetching Yarn dev dependencies... This can be very long, be patient !" --weight=18 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=30000 ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --network-timeout=30000 --legacy-peer-deps
# fix issue "Type error: Cannot find module 'pulltorefreshjs' or its corresponding type declarations." # fix issue "Type error: Cannot find module 'pulltorefreshjs' or its corresponding type declarations."
ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install pulltorefreshjs@latest ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install pulltorefreshjs@latest

View file

@ -31,8 +31,6 @@ ynh_npm install --global npm@latest
# Install Yarn # Install Yarn
ynh_npm install --global yarn ynh_npm install --global yarn
npm cache clean --force
#================================================= #=================================================
# "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD...) # "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD...)
#================================================= #=================================================
@ -56,7 +54,7 @@ pushd $install_dir
ynh_use_nodejs ynh_use_nodejs
ynh_script_progression --message="Fetching Yarn dev dependencies... This can be very long, be patient !" --weight=18 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=30000 ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --network-timeout=30000 --legacy-peer-deps
# fix issue "Type error: Cannot find module 'pulltorefreshjs' or its corresponding type declarations." # fix issue "Type error: Cannot find module 'pulltorefreshjs' or its corresponding type declarations."
ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install pulltorefreshjs@latest ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install pulltorefreshjs@latest