I'm using the following command to remove an unused Cordova plugin:
$ cordova plugin remove cordova-plugin-facebook
Uninstalling cordova-plugin-facebook from android
Uninstalling cordova-plugin-facebook from its
Its giving me the following error:
Error: Uh oh!
Path must be a string. Received undefined
How do I resolve the problem or remove the plugin by hand?
I'm guessing that on the line:
Uninstalling cordova-plugin-facebook from its
That last word should be ios
? If so, the ios
platform might need to be removed and re-added:
cordova platform rm ios
.config.xml
file for a <plugin name="cordova-plugin-facebook"> ...
line. Remove it if it's still there.cordova platform add ios
.Hopefully that cleans things out properly.