1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/terraforming-mars_ynh.git synced 2024-09-03 20:36:05 +02:00

Update npm command

This commit is contained in:
Thomas 2023-12-12 15:05:37 +01:00 committed by GitHub
parent f05046f219
commit c832b7eec0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ pushd $install_dir
ynh_use_nodejs ynh_use_nodejs
ynh_script_progression --message="npm install... This can be very long, be patient !" --weight=18 ynh_script_progression --message="npm install... This can be very long, be patient !" --weight=18
ynh_exec_warn_less env $ynh_node_load_PATH $ynh_npm ci --quiet --network-timeout=100000 ynh_exec_warn_less env $ynh_node_load_PATH $ynh_npm ci --quiet --production --prefer-offline --network-timeout=100000
ynh_script_progression --message="npm run build... This can be very long, be patient !" --weight=25 ynh_script_progression --message="npm run build... This can be very long, be patient !" --weight=25
ynh_exec_warn_less env $ynh_node_load_PATH $ynh_npm run build ynh_exec_warn_less env $ynh_node_load_PATH $ynh_npm run build