How do I remove Cordova and ionic 1 and its dependency from my Ubuntu completely?. How to reinstall all again?
To install my ionic and its dependency i use this blog https://www.thepolyglotdeveloper.com/2014/09/install-android-cordova-ionic-framework-ubuntu/
npm uninstall -g cordova ionic
npm WARN uninstall not installed in /home/gopi/node_modules: "cordova"
npm WARN uninstall not installed in /home/gopi/node_modules: "ionic"
The error actually says that your syntax is wrong for the command. Better try the commands individually:
$ npm cache clear $ npm uninstall ionic
it should work as in:https://forum.ionicframework.com/t/install-ionic-on-mac/1854/6
For Cordova, the command :
sudo npm uninstall cordova -g
Please note : The -g is after.