How to remove installed ionic cordova plugin from ionic 2 / 3 or ionic V2+ project

后端 未结 4 1854
情深已故
情深已故 2021-02-13 14:22

I installed Cordova and Ionic Native plugins into the ionic3 project.

But I need to remove only that specific Cordova and Ionic Native plugins from the project complete

4条回答
  •  感情败类
    2021-02-13 14:47

    please make sure that you also run npm uninstall after ionic cordova remove skipping this may lead to serious consequences like for instance the BUILD is successful but some of features in the App fails in the runtime complaining the plugin is missing, what must have happened in this case is re installation must have silently failed as the plugin source still exists due to not performing npm uninstall, such mistakes do happen while migrations, upgrade to new CLI. In my case InAppPurchase2 plugin did not work, payments stopped working :(, something quite miserable isn't it..hope the lesson helps someone out there..

提交回复
热议问题