Despite a meteor reset
and search in source, I didn’t find anything related to “cordova-plugin-googleplus”, which is not installed as listed by meteor list
:
cordova:cordova-plugin-appversion 1.0.0
cordova:cordova-plugin-device 1.1.6
cordova:cordova-plugin-inappbrowser https://github.com/apache/cordova-plugin-inappbrowser.git#10f2ad72a070c4fea91...
cordova:cordova-plugin-meteor-webapp 1.9.1
cordova:cordova.plugins.diagnostic 6.0.3
But when I run meteor run ios --settings xxx.json
, I have the following errors :
WARNING: Attempting to install plugin cordova-plugin-geolocation@2.1.0, but it should have a minimum version of 2.4.3 to
ensure compatibility with the current platform versions. Installing the minimum version for convenience, but you
should adjust your dependencies.
Installing "cordova-plugin-inappbrowser" for android ] 0% 0.0s
Installing "cordova-plugin-inappbrowser" for ios ] 0% 0.0s
Installing "cordova-plugin-geolocation" for android ] 11% 38.5s
Installing "cordova-plugin-compat" for android=== ] 11% 49.5s
%% Plugin doesn't support this project's cordova-android version. cordova-android: 10.1.1, failed version requirement:
<6.3.0
Plugin doesn't support this project's cordova-android version. cordova-android: 10.1.1, failed version requirement:
<6.3.0
%% Skipping 'cordova-plugin-compat' for android
Skipping 'cordova-plugin-compat' for android [=== ] 11% 53.9s
Installing "cordova-plugin-geolocation" for ios
Plugin dependency "cordova-plugin-compat@1.2.0" already fetched, using that version.
Installing "cordova-plugin-compat" for ios
Installing "cordova-plugin-googleplus" for android== ] 22% 30.4s
Subproject Path: CordovaLibns [====== ] 22% 31.6s
Subproject Path: app
Installing "cordova-plugin-googleplus" for ios
%% Failed to install 'cordova-plugin-googleplus': Error: Variable(s) missing: REVERSED_CLIENT_ID
at Object.mergeVariables (/Users/laurent/.meteor/packages/meteor-tool/.2.6.1.5kprs9.7u5d8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/variable-merge.js:58:15)
at /Users/laurent/.meteor/packages/meteor-tool/.2.6.1.5kprs9.7u5d8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/install.js:302:44
at /Users/laurent/.meteor/packages/meteor-tool/.2.6.1.5kprs9.7u5d8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/fiber_pool.js:43:40
Failed to install 'cordova-plugin-googleplus': Error: Variable(s) missing: REVERSED_CLIENT_ID
at Object.mergeVariables (/Users/laurent/.meteor/packages/meteor-tool/.2.6.1.5kprs9.7u5d8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/variable-merge.js:58:15)
at /Users/laurent/.meteor/packages/meteor-tool/.2.6.1.5kprs9.7u5d8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/install.js:302:44
at /Users/laurent/.meteor/packages/meteor-tool/.2.6.1.5kprs9.7u5d8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/fiber_pool.js:43:40
=> Errors executing Cordova commands:
While adding plugin cordova-plugin-googleplus@8.4.0 to Cordova project:
Error: Variable(s) missing: REVERSED_CLIENT_ID
at Object.mergeVariables
(/Users/laurent/.meteor/packages/meteor-tool/.2.6.1.5kprs9.7u5d8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/variable-merge.js:58:15)
at
/Users/laurent/.meteor/packages/meteor-tool/.2.6.1.5kprs9.7u5d8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/install.js:302:44
at
/Users/laurent/.meteor/packages/meteor-tool/.2.6.1.5kprs9.7u5d8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/fiber_pool.js:43:40
/Users/laurent/.meteor/packages/coffeescript/.1.0.17.1efx7vm.30ru++os+web.browser+web.cordova/plugin.compileCoffeescript.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:116
throw error;
^
ExitWithCode { code: 1 }
I see that I have in .meteor/local/cordova-build/node_modules :
cordova-android
cordova-common
cordova-ios
cordova-plugin-compat
cordova-plugin-geolocation
cordova-plugin-googleplus
cordova-plugin-inappbrowser
the file config.xml doesn’t mention anything related …
So where is cordova-plugin-googleplus
configured ?
I found build/star.json … (with grep -r cordova-plugin-googleplus *
in .meteor/build)
{
"name": "web.cordova",
"arch": "web.cordova",
"path": "programs/web.cordova/program.json",
"cordovaDependencies": {
"cordova-plugin-inappbrowser": "https://github.com/apache/cordova-plugin-inappbrowser.git#10f2ad72a070c4fea91d6be5a732b3634aaafd5e",
"cordova-plugin-geolocation": "2.1.0",
"cordova-plugin-googleplus": "8.4.0",
"cordova-plugin-meteor-webapp": "1.9.1",
"cordova-plugin-statusbar": "2.4.3",
"cordova-plugin-splashscreen": "6.0.0",
"cordova-plugin-appversion": "1.0.0",
"cordova-plugin-device": "1.1.6",
"cordova.plugins.diagnostic": "6.0.3"
}
},
WTF ? How can I remove these entries ?