I was also getting this issue and solved by running below command.
ng update @angular/cli --migrate-only --from=<WhateverVersionYouAreCurrentlyOn>
e.g.
ng update @angular/cli --migrate-only --from=1.7.3
getting ref from here
More Related Contents:
- Angular5: Deploying Angular application to multiple clients
- How to upgrade Angular CLI to the latest version
- Read response headers from API response – Angular 5 + TypeScript
- Could not find module “@angular-devkit/build-angular”
- How to add bootstrap to an angular-cli project
- How to add CORS request in header in Angular 5
- Angular CLI SASS options
- PowerShell script add ‘–prod’ argument to build Angular CLI project
- how to format date in Component of angular 5
- Angular-CLI proxy to backend doesn’t work
- Set focus on element
- What’s the difference between –base-href and –deploy-url parameters of angular-cli tool
- Get angular-cli to ng serve over HTTPS
- ctorParameters.map is not a function in angular2-mdl
- How to set environment via `ng serve` in Angular 6
- How to undo Angular 2 Cli ng-eject?
- How to install a specific version of Angular with Angular CLI?
- angular-i18n work-around for translations in code?
- Include assets when building angular library
- When to use ‘npm start’ and when to use ‘ng serve’?
- How to uninstall/upgrade Angular CLI?
- Implementing a plugin architecture / plugin system / pluggable framework in Angular 2, 4, 5, 6
- How to get rid of the warning .ts file is part of the TypeScript compilation but it’s unused
- Angular 5 Reactive Forms – Radio Button Group
- How to update / upgrade from Angular 4 to Angular 5+
- How to add Web Animations API polyfill to an Angular 2 project created with Angular CLI
- Use OpenLayers 4 with Angular 5
- How to execute only one test spec with angular-cli
- Using Angular CLI and unable to use relative image paths in CSS files
- How to generate components in a specific folder with Angular CLI?