Published on: 23 May, 2017

How to uninstall a plugin from Ionic

Posted by andy | 4943 views 2 likes 0 favourites 3 comments
Tumblr Digg Google Plus

If you need to uninstall some plugins that you are no longer need. You can go to Ionic project folder. You will then find there is a folder named plugins.

To remove a plugin you just need to use the following code in your Node.Js command prompt.

cordova plugin remove FOLDER_PLUGIN_NAME
Commented on: 12 Jan, 2018 12:58:24 PM
it did'nt work "cordova plugin remove cordova-plugin-facebook" is the plugin i what to remove but nothing happens help please.
Commented on: 13 Jan, 2018 06:00:30 PM
Hi Darwin, what you can do is to remove the folder manually and in the config file, you can remove the plugin name manually as well. It should remove the plugin for you.
Anes P A
Commented on: 12 Feb, 2018 04:04:55 PM
Hi Andy, I tried your solution . Removed the line : and removed the folder : cordova-plugin-app-preferences from 'npm_folder' But still show: user@acer:~/dreamhouse-mobile-ionic$ ionic cordova plugin > cordova plugin ls cordova-plugin-app-preferences 0.99.3 "AppPreferences" cordova-plugin-console 1.0.5 "Console" cordova-plugin-device 2.0.1 "Device" First entry is that app name.. Please advise Thanks Anes
Commented on: 13 Feb, 2018 02:11:21 PM
Hi Anes, Tried this. Copy the whole of your ionic project first and zip it. Then try adding any new plugin and remove it using the above line. See if it does work? If it does, then re-install the cordova-plugin-app-preferences and once succesfull, try to uninstall it again.
Write Comment
0 characters entered. Maximum characters allowed are 1000 characters.
Share your article with us and add your own google adsense account to earn extra money. Plus, you can promote a link back to your site.
Related Articles
Published on: 21 February, 2017
If you have an issue with your cordova or Ionic Framework. It would be best if you can just uninstall the framework and reinstall them again. To uninstall them via NodeJS, you can follow those quick line command in NodeJS command prompt.