From 30100661900410db88fde12b982bd5e08d579683 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Fri, 17 May 2024 21:32:27 +0200 Subject: [PATCH] Prevent yet another Node and Corepack madness --- helpers/nodejs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helpers/nodejs b/helpers/nodejs index e3ccf82dd..9401fc875 100644 --- a/helpers/nodejs +++ b/helpers/nodejs @@ -74,6 +74,8 @@ ynh_use_nodejs() { ynh_node_load_PATH="PATH=$node_PATH" # Same var but in lower case to be compatible with ynh_replace_vars... ynh_node_load_path="PATH=$node_PATH" + # Prevent yet another Node and Corepack madness, with Corepack wanting the user to confirm download of Yarn + export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 } # Install a specific version of nodejs