The installed local Angular CLI version is older than the latest stable version code example
Example: update angular cli
npm uninstall -g @angular-cli
npm install -g @angular/cli@latest
npm uninstall -g @angular-cli
npm install -g @angular/cli@latest