From 260696f0c988d79d5755a55c81d142f21d7228e3 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Fri, 17 Feb 2023 13:53:53 +0100 Subject: [PATCH] Fix --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index e3ffc7c..bef57f6 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 --unsafe-perm + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --unsafe-perm=true --allow-root 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