mirror of
https://github.com/YunoHost-Apps/lingva_ynh.git
synced 2024-09-03 19:36:20 +02:00
perbaiki galat eacces
This commit is contained in:
parent
a6b0fb433b
commit
659b54df91
1 changed files with 2 additions and 4 deletions
|
@ -55,13 +55,11 @@ chown $app:$app "$install_dir/.env.local"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Building the app..." --weight=1
|
||||
|
||||
mkdir "$install_dir/.npm-global"
|
||||
export NPM_CONFIG_PREFIX=~/.npm-global
|
||||
ynh_install_nodejs --nodejs_version=18.16.0
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install --prefix="$install_dir"
|
||||
npx next telemetry disable
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm build
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm build --prefix="$install_dir"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
Loading…
Add table
Reference in a new issue