cordova无法删除ios插件的解决办法
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cordova无法删除ios插件的解决办法相关的知识,希望对你有一定的参考价值。
错误如下:
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,并重新添加:
- Call
cordova platform rm ios
. // 调用cordova命令删除ios platform : cordova platform remove ios - Check your
config.xml
file for a<plugin name="cordova-plugin-alipay-v2"> ...
line. Remove it if it‘s still there. //查找项目config.xml中是否包含待删除插件信息,如果有则删除之 - Call
cordova platform add ios
. // 调用cordova命令重新添加ios platform: cordova platform add ios
Hopefully that cleans things out properly. //衷心希望能搞定该问题。
GOOD LUCK!
以上是关于cordova无法删除ios插件的解决办法的主要内容,如果未能解决你的问题,请参考以下文章