简体   繁体   English

尚未安装Cordova插件googleplus

[英]Cordova plugin googleplus not getting installed

I am developing an ionic 1 application with firebase integration. 我正在开发具有Firebase集成的ionic 1应用程序。 I want to add google plus authentication and use cordova-plugin-googleplus for the same. 我想添加google plus身份验证,并使用cordova-plugin-googleplus进行相同的操作。 On executing the function I get error - "TypeError: Cannot read property 'googleplus' of undefined" 执行该函数时,出现错误- “ TypeError:无法读取未定义的属性'googleplus'

I see that this is probably because the plugin is not getting installed properly. 我看到这可能是因为插件未正确安装。 I removed and added plugin again but still I get the same error. 我再次删除并添加了插件,但仍然收到相同的错误。

Ionic info 离子信息

Cordova CLI: 6.5.0
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Version: 1.3.2
Ionic CLI Version: 1.4.0
Ionic App Lib Version: 0.0.16
OS: null
Node Version: v6.10.0

I referred this post and Updating cordova and android also doesn't help. 我提到了这篇文章,并且更新cordova和android也无济于事。

The command cordova plugin list shows the plugin and I can see that in config.xml and package.json files and the repository is cloned in plugins folder. 命令cordova插件列表显示了该插件,我可以在config.xml和package.json文件中看到该插件,并且该存储库已克隆到plugins文件夹中。

Commands I tried to install the plugin 我尝试安装插件的命令

cordova plugin add cordova-plugin-googleplus --save
cordova prepare

I tried with ionic too 我也尝试过离子性

ionic plugin add cordova-plugin-googleplus 

Remove all your platforms, try adding the plugin again and re-add your platforms. 删除所有平台,尝试再次添加插件,然后重新添加平台。 Is this working ? 这管用吗 ?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用Cordova googleplus插件登录google - google login using cordova googleplus plugin 成功登录后,没有从cordova-plugin-googleplus插件进行回调 - No callback from cordova-plugin-googleplus plugin after successful login CameraPreview Ionic Cordova 错误“plugin_not_installed”,但已安装插件 | 角 8 - CameraPreview Ionic Cordova error 'plugin_not_installed', but the plugin IS installed | Angular 8 Android目标:未安装且插件安装失败 - Android target: not installed and plugin installation failed Cordova 找不到404:cordova-plugin-googleplayservices - getting 404 Not Found: cordova-plugin-googleplayservices 从GooglePlus获取访问令牌登录 - Getting Access token from GooglePlus Sign in Ionic 3,Googleplus插件和Firebase插件playservices冲突问题-2019年8月 - Ionic 3, Googleplus plugin and firebase plugin playservices conflict problem - August 2019 Ionic & Firebase Google Login with Googleplus 插件错误:10 - Ionic & Firebase Google Login with Googleplus plugin error: 10 无法从我的自定义Cordova插件获取回调(Android) - Not getting callbacks from my custom Cordova plugin (Android) Cordova地理位置插件无法从GPS获取Android的位置 - Cordova geolocation plugin not getting location from GPS for Android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM