Uh oh!
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Guid.NewGuid() fails with Error occurred during a cryptographic operation. in Interop.GetCryptographicallySecureRandomBytes(Byte* buffer, Int32 length) with node < 19.x #77927
Description
When creating a new GUID in a .NET 7 WASM console app, I'm getting a runtime error.
Reproduction Steps
dotnet new wasmconsolevar guid = Guid.NewGuid();before the console log statementdotnet build -c Debugnode .\bin\Debug\net7.0\browser-wasm\AppBundle\main.mjsExpected behavior
No error expected.
Actual behavior
Regression?
No response
Known Workarounds
No response
Configuration
Other information
No response