diff --git a/scripts/install b/scripts/install index 0ab8660..11c6b81 100644 --- a/scripts/install +++ b/scripts/install @@ -117,10 +117,11 @@ ynh_add_config --template="../conf/.env" --destination="$final_path/.env" #============================================== ynh_script_progression --message="Building $app... (this will take some time and resources!)" --weight=40 +chown -R $app: $final_path + pushd "$final_path" ynh_use_nodejs ynh_exec_warn_less yarn install - chown -R $app:$app $final_path/node_modules popd #=================================================