Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

When removing the plugin, an Variable(s) missing error is spawned #845

Closed
renanccastro opened this issue Dec 21, 2019 · 1 comment
Closed

Comments

@renanccastro
Copy link

Bug or feature request

[X] I'm reporting a reproducible issue with the code
[ ] I'm reporting a feature request

Describe the Bug of feature request

If you start a new project with cordova and add the plugin with:

cordova plugin add cordova-plugin-facebook4 --save --variable APP_ID="123456789" --variable APP_NAME="myApplication"

and try to remove it with:

cordova plugin rm cordova-plugin-facebook4

The following error should be printed:

Variable(s) missing (use: --variable APP_ID=value --variable APP_NAME=value).

Expected Behavior

It's expected to be removed without an error.

Additional Context

This can impact other projects that uses this plugin like meteor because the build step breaks if an error is spawned in the plugin remove step, as it is used for rebuilding the project.

@noahcooper
Copy link
Collaborator

This is a cordova-cli issue:

apache/cordova-cli#446

You must currently specify variables when removing a plugin.

This plugin is deprecated. See cordova-plugin-facebook-connect at https://www.npmjs.com/package/cordova-plugin-facebook-connect.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants