rm -rf node_modules/angular-svg-round-progressbar/node_modules # Once i removed the # "node_modules/angular-svg-round-progressbar/node_modules" # directory both ng serve and ng build worked again.