Skip to content

Commit

Permalink
Set openssl-legacy-provider on all platforms.
Browse files Browse the repository at this point in the history
Linux is failing now with the same error.
  • Loading branch information
grokys committed Feb 24, 2023
1 parent 136a0ab commit afd25c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nukebuild/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ DotNetConfigHelper ApplySettingCore(DotNetConfigHelper c)
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 => _ => _
Expand Down

0 comments on commit afd25c8

Please sign in to comment.