首页 > 代码库 > cordova无法删除ios插件的解决办法

cordova无法删除ios插件的解决办法

错误如下:

 

<style>p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff } p.p2 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff; min-height: 13.0px } span.s1 { }</style>

Uninstalling cordova-plugin-alipay-v2 from ios

 

 

Error during processing of action! Attempting to revert...

 

 

Error: Uh oh!

Path must be a string. Received undefined

 

 

解决方案如下:

 

That last word should be ios? If so, the ios platform might need to be removed and re-added:

删除ios platform,并重新添加:

  1. Call cordova platform rm ios. // 调用cordova命令删除ios platform  : cordova platform remove ios
  2. Check your config.xml file for a <plugin name="cordova-plugin-alipay-v2"> ... line. Remove it if it‘s still there. //查找项目config.xml中是否包含待删除插件信息,如果有则删除之
  3. Call cordova platform add ios. // 调用cordova命令重新添加ios platform: cordova platform add ios

Hopefully that cleans things out properly. //衷心希望能搞定该问题。

 

GOOD LUCK!

 

cordova无法删除ios插件的解决办法