The NPM script 'start' exited without indicating that the Angular CLI was listening for requests

  • Dec 20, 2020
  • 1
  • 16.9k

I am getting "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: An unhandled exception occurred: Job name ".." does not exist." 

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: An unhandled exception occurred: Job name 
".." does not exist.

 

Answers (1)
Answer Accepted

You should edit your package.json file and remove the --extractCss parameter from the start and build property.

From:

"scripts": {
    "ng": "ng",
    "start": "ng serve --extract-css",
    "build": "ng build --extract-css",

To:

"scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",

 

Submit your answer