ionic2 - Ionic CLI not uninstalling -


this related previous question here never resolved. trying fix problem doing fresh reinstall of ionic.

i first tried uninstalling ionic sudo npm uninstall -g ionic, , completes no errors, doing ionic -v still outputs 2.1.1, didn't uninstalled. after tried sudo npm install -g ionic@latest, , problem still persists.

what weirder happened when tried create new project scratch test it. did ionic start test --v2 on ubuntu machine, , doing ionic serve still same thing stated in previous question.

what node , npm versions ?

please update latest node js (https://nodejs.org/en/download/current/) check

 node -v    npm -v 

node version must v8.5.0 (includes npm 5.3.0) ,

 sudo npm uninstall -g ionic   sudo npm cache clean --force  sudo npm install ionic 

check ionic version

ionic -v  

version ^3.10.1. if ok can use new project command given below

ionic start --list  

you can see kind of project types here example

ionic start blank 

Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -