From afd25c83433349bdc19deedd72ac25beca63034e Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Fri, 24 Feb 2023 10:31:42 +0100 Subject: [PATCH] Set openssl-legacy-provider on all platforms. Linux is failing now with the same error. --- nukebuild/Build.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nukebuild/Build.cs b/nukebuild/Build.cs index 45a25af7bc..71ca8de2ea 100644 --- a/nukebuild/Build.cs +++ b/nukebuild/Build.cs @@ -121,8 +121,7 @@ partial class Build : NukeBuild NpmTasks.NpmRun(c => c .SetProcessWorkingDirectory(webappDir) .SetCommand("dist") - .When(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), d => - d.SetProcessEnvironmentVariable("NODE_OPTIONS", "--openssl-legacy-provider"))); + .SetProcessEnvironmentVariable("NODE_OPTIONS", "--openssl-legacy-provider")); }); Target CompileNative => _ => _