0
votes

I tried this: npm uninstall -g @angular/cli and npm uninstall -g angular-cli Got this: up to date in 0.048s I am not able to delete angular cli I need to install angular 6.2.3 and node also unable to delete it need to install node 10.11.0

Thanks

1
So what does npm list -g --depth=0 show you now? Does ng still work on the command line? - jonrsharpe
'/usr/local/lib └── (empty) ' It gives this command - jv cd
So why do you think you haven't uninstalled the global Angular CLI? - jonrsharpe
I still have angular 6.0.0 and cant install angular 6.2.3 - jv cd

1 Answers

1
votes
npm uninstall -g @angular/cli (add sudo in the start if using Linux)
npm cache clean --force / npm cache verify
npm install -g @angular/cli

add @ in front of npm package to install specific package e.g npm install -g @angular/[email protected]