Open AfshinZavvar opened 1 year ago
Hello, Afshin!
JavaScriptEngineSwitcher.V8.Native.win-x64
You can uninstall the JavaScriptEngineSwitcher.V8.Native.win-x64 package because it is no longer needed now (it is enough just to install the Microsoft.ClearScript.V8.Native.win-x64 package).
… in type 'Microsoft.ClearScript.V8.V8ScriptEngine' from assembly 'ClearScript.V8, Version=7.2.5.0, …
Microsoft ClearScript version 7.2.5 is already quite an old version (it is already more than a year old). I recommend that you upgrade the packages to the following versions:
Packages
React.Web.Mvc4 along with Core and web JavaScriptEngineSwitcher.V8 JavaScriptEngineSwitcher.V8.Native.win-x64 JavaScriptEngineSwitcher.Core Microsoft.ClearScript.V8 Microsoft.ClearScript.V8.Native.win-x64
Runtime environment:
(Describe your issue here)
[TypeLoadException: Method 'get_CommonJSManager' in type 'Microsoft.ClearScript.V8.V8ScriptEngine' from assembly 'ClearScript.V8, Version=7.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation.] JavaScriptEngineSwitcher.V8.V8JsEngine..ctor(V8Settings settings) +0 JavaScriptEngineSwitcher.V8.V8JsEngineFactory.CreateEngine() +39 JSPool.JsPool
2.CreateEngine() +130 JSPool.JsPool
2.PopulateEngines() +23 JSPool.JsPool2..ctor(JsPoolConfig
1 config) +265 React.JavaScriptEngineFactory.CreatePool() +657 React.JavaScriptEngineFactory..ctor(IJsEngineSwitcher jsEngineSwitcher, IReactSiteConfiguration config, ICache cache, IFileSystem fileSystem) +178 lambda_method(Closure , Object[] ) +208 React.TinyIoC.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) +608