Closed sanme98 closed 2 years ago
Hi, found it can be resolved by switch to V8 engine. Thanks.
//services.AddJsEngineSwitcher(options => options.DefaultEngineName = ChakraCoreJsEngine.EngineName)
// .AddChakraCore();
services.AddJsEngineSwitcher(options => options.DefaultEngineName = V8JsEngine.EngineName)
.AddV8();
Please verify these steps before filing an issue, and check them off as you go
JavaScriptEngineSwitcher.V8.Native.win-x64
)SetUseReact
andSetUseBabel
is correct inReactConfig.cs
orStartup.cs
I'm using these library versions:
ReactJS.NET
: 5.2.12JavaScriptEngineSwitcher
: 3.1.8react
andreact-dom
: (N/A if using bundled react, or version number)webpack
: (N/A if using bundled react)node
: (N/A if using bundled react)Runtime environment:
Steps to reproduce
Run the template project directly without any changes, then browse it in browser, it will have the error in console with This site can’t be reached error in browser.