Je crée une application React sur le noyau asp.net. J'utilise la bibliothèque ReactJS.NET et webpack comme bundler et transpiler des composants jsx.Réagir Composant introuvable
Je l'ai travailler localement, mais quand je deplloy d'azur, je reçois ce journal:
An unhandled exception occurred while processing the request.
ReactEngineNotFoundException: No usable JavaScript engine was found. Please
install a JavaScript engine such as React.JavaScriptEngine.ClearScriptV8 (on
Windows) or React.JavaScriptEngine.VroomJs (on Linux and Mac OS X). Refer to
the ReactJS.NET documentation for more details.
React.AspNet.HtmlHelperExtensions.get_Environment()
TinyIoCResolutionException: Unable to resolve type:
React.JavaScriptEngineFactory
React.AspNet.HtmlHelperExtensions.get_Environment()
TinyIoCResolutionException: Unable to resolve type: React.ReactEnvironment
React.AspNet.HtmlHelperExtensions.get_Environment()
ReactNotInitialisedException: ReactJS.NET has not been initialised correctly.
Please ensure you have called app.AddReact() and app.UseReact() in your
Startup.cs file.
React.AspNet.HtmlHelperExtensions.get_Environment()
De ReactJS.NET Docs, « A partir de la version 2.2 partir ReactJS.NET fonctionne hors de la boîte à Azure en utilisant le moteur JavaScript V8 ". Et il dit: ".SetAllowMsieEngine (false); sur app.UseReact()", mais est maintenant dépréciée ...
Je ne sais pas quoi faire:/ Merci à l'avance