Der Fehler erscheint, wenn man eine Angular SPA Anwendung auf dem Computer starten möchte, ohne Installation von node.js.
Fehlermeldung
An unhandled exception occurred while processing the request.AggregateException: One or more errors occurred. (One or more errors
occurred. (The NPM script 'start' exited without indicating that the Angular
CLI was listening for requests. The
error output was: Der Befehl "npm" ist entweder falsch geschrieben
oder System.Threading.Tasks.Task<TResult>.GetResultCore(bool waitCompletionNotification) InvalidOperationException: The NPM script 'start' exited without indicating that the Angular CLI was listening for requests. The error output was: Der Befehl "npm" ist entweder falsch geschrieben oder Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddleware.StartAngularCliServerAsync(string sourcePath, string npmScriptName, ILogger logger)
|
Im Browser
Lösung:
Man muss erst Node.js auf dem Rechner installieren.
Under https://nodejs.org/en/download/
For Windows 10, select the Windows Installer-> Windows Intaller (.msi) 64-bit
And after the download start the installation