Browse Source

Set openssl-legacy-provider on all platforms.

Linux is failing now with the same error.
release/0.10.19
Steven Kirk 3 years ago
parent
commit
afd25c8343
  1. 3
      nukebuild/Build.cs

3
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 => _ => _

Loading…
Cancel
Save