From 96286b89c49aa78f6d22d00e97d50ae2780fba31 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Fri, 17 Feb 2023 07:11:06 +0100 Subject: [PATCH] Fix --- scripts/_common.sh | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 9af0f1e..ffeb039 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -6,7 +6,7 @@ # PHP APP SPECIFIC #================================================= -NODEJS_VERSION="18.14.1" +NODEJS_VERSION="19" # dependencies used by the app pkg_dependencies="ffmpeg postgresql build-essential" diff --git a/scripts/install b/scripts/install index 4973de6..e3ffc7c 100644 --- a/scripts/install +++ b/scripts/install @@ -70,7 +70,7 @@ pushd "$install_dir" ynh_use_nodejs corepack enable corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --unsafe-perm ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run init popd