I am trying to run my working project in a new machine. The Angular app individually is running fine using ng serve
, but when I am trying to rum the whole application from Visual Studio, I am getting the following error:
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: npm ERR! path C:\Windows\System32\package.json
I have tried the following ways, it didn't help:
- Selected the file package.json inside the folder ClientApp then changed the property Copy to Output Directory to Copy always.
- Deleted package.lock.json and ran npm install.
- I don't have
–EXTRACT-CSS
in my package.json. It is"start": "ng serve
. - Followed all the steps mentioned in https://github.com/silvairsoares/Angular-with-Asp.Net-Core/wiki
"start": "ng serve"
. I didn't have ` –EXTRACT-CSS` in my package.json – Adrita Sharmanpm audit fix
stackoverflow.com/questions/50221618/… – hrdkisback