The error appears when you want to start an Angular SPA application on the computer without installing node.js.
error message
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)
|
In the browser
Solution:
You have to install Node.js on the computer.
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