i installed latest version of angular cli.
npm uninstall -g @angular/cli it uninstalled the latest version of angular-6.
npm cache clean --force and then installed
npm install -g @angular/cli@1.7.4 But it gave error
i installed latest version of angular cli.
npm uninstall -g @angular/cli it uninstalled the latest version of angular-6.
npm cache clean --force and then installed
npm install -g @angular/cli@1.7.4 But it gave error
You can keep the global version of Angular to 6. You can downgrade the Local version specific to your project to 1.x. ng command will pick the local setting instead of global.
You can refer this. Unable to downgrade Angular from version 6 to 5