jv cd
jv cd

Reputation: 13

Unable to uninstall angular/cli

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

Upvotes: 0

Views: 4009

Answers (1)

Akshay Rajput
Akshay Rajput

Reputation: 2078

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]

Upvotes: 2

Related Questions