Solution:- 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",