I have a cordova plugin in my local. I can add it to my project without problems by typing:
cordova plugin add --link /Users/goforu/WorkSpace/MyProject/cordovaPlugins/cordova-plugin-IFlyspeech
But I can't remove it from my project:
cordova plugin remove cordova-plugin-xunfeiListenSpeaking
It always logs error
Error: Plugin "cordova-plugin-xunfeiListenSpeaking" is not present in the project. See
cordova plugin list
.
When I type cordova plugin list
I get this:
cordova-plugin-console 1.0.5 "Console" cordova-plugin-device 1.1.4 "Device" cordova-plugin-splashscreen 4.0.3 "Splashscreen" cordova-plugin-statusbar 2.2.1 "StatusBar" cordova-plugin-whitelist 1.3.1 "Whitelist" cordova-plugin-xunfeiListenSpeaking 0.0.1 "cordova-plugin-xunfeiListenSpeaking" cordova-sqlite-storage 2.0.4 "Cordova sqlite storage plugin" "Cordova sqlite storage plugin" ionic-plugin-keyboard 2.2.1 "Keyboard" {}
And I also noticed that every time I remove and add android platform, this plugin will not get installed in project.
Problem solved: As jcesarmobile said, maybe it's a bug. I solved this problem by getting rid of the '--link'. And now it works properly.
--save
option? - Suraj Rao