mirror of
https://github.com/YunoHost-Apps/terraforming-mars_ynh.git
synced 2024-09-03 20:36:05 +02:00
remove npm install global
This commit is contained in:
parent
a9ad57a904
commit
549eaafd92
1 changed files with 1 additions and 3 deletions
|
@ -16,9 +16,6 @@ ynh_script_progression --message="Installing dependencies..." --weight=5
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||||
|
|
||||||
# Upgrade NPM
|
|
||||||
ynh_npm install --global npm@8.1.2
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -62,6 +59,7 @@ chown $app:$app "$install_dir/.env"
|
||||||
|
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
|
ynh_npm install npm@latest
|
||||||
|
|
||||||
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 ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm ci --quiet --production --prefer-offline --network-timeout=100000
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm ci --quiet --production --prefer-offline --network-timeout=100000
|
||||||
|
|
Loading…
Reference in a new issue