Ich habe this Tutorial zum Erhalten eckigen und ASP.NET Core zusammen laufen. Der anfängliche Build funktionierte gut, aber nach dem Aktualisieren von eckigen Paketen erhalte ich beim Start der Anwendung den folgenden Fehler (ich musste auch nodejs im Prozess neu installieren, nicht sicher, ob das zusammenhängt):ASP.NET Core Das System kann die angegebene Datei nicht finden
Der Fehler ist auf dem folgenden Leitung:
app.UseWebpackDevMiddleware(new WebpackDevMiddlewareOptions {
HotModuleReplacement = true
});
Der Fehler selbst mich nicht mit nützlichen Informationen, die Frage auf die Spur liefert.
ich ein:
System.AggregateException => Count = error CS0103: The name 'InnerExceptionCount' does not exist in the current context
Unter Innerexceptions es die folgenden Fehlerlisten:
System.ComponentModel.Win32Exception: The system cannot find the file specified at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance.LaunchNodeProcess(ProcessStartInfo startInfo) at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance..ctor(String entryPointScript, String projectPath, String[] watchFileExtensions, String commandLineArguments, ILogger nodeOutputLogger, IDictionary2 environmentVars, Int32 invocationTimeoutMilliseconds, Boolean launchWithDebugging, Int32 debuggingPort) at Microsoft.AspNetCore.NodeServices.HostingModels.HttpNodeInstance..ctor(String projectPath, String[] watchFileExtensions, ILogger nodeInstanceOutputLogger, IDictionary2 environmentVars, Int32 invocationTimeoutMilliseconds, Boolean launchWithDebugging, Int32 debuggingPort, Int32 port) at Microsoft.AspNetCore.NodeServices.NodeServicesFactory.CreateNodeInstance(NodeServicesOptions options) at Microsoft.AspNetCore.NodeServices.NodeServicesFactory.<>c__DisplayClass0_0.b__0() at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.CreateNewNodeInstance() at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.GetOrCreateCurrentNodeInstance() at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.d__10`1.MoveNext()}
Wenn jemand mich in die Richtung weisen kann mehr Informationen von dem Fehler wäre hilfreich zu bekommen.
Nach einem Neustart war alles gut. –