Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
159
rated 0 times [  162] [ 3]  / answers: 1 / hits: 18596  / 8 Years ago, tue, march 22, 2016, 12:00:00

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/



I tried npm uninstall -g cordova ionic but it is not working



I am getting this two error



npm WARN uninstall not installed in /home/gopi/node_modules: cordova
npm WARN uninstall not installed in /home/gopi/node_modules: ionic

More From » angularjs

 Answers
182

The error actually says that your syntax is wrong for the command. Better try the commands individually:



For ionic:



$ npm cache clear
$ npm uninstall ionic


it should work as in:https://forum.ionicframework.com/t/install-ionic-on-mac/1854/6



If the above command does not uninstall ionic try the one below.



$ sudo npm uninstall -g ionic


For Cordova, the command :



sudo npm uninstall cordova -g


Please note : The -g is after.



Refer: https://stackoverflow.com/a/19523868/1904479


[#62847] Sunday, March 20, 2016, 8 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jennie

Total Points: 593
Total Questions: 102
Total Answers: 106

Location: Federated States of Micronesia
Member since Fri, Sep 16, 2022
2 Years ago
jennie questions
;