首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >实现ngCordova的白屏幕

实现ngCordova的白屏幕
EN

Stack Overflow用户
提问于 2015-05-05 18:49:09
回答 1查看 1.9K关注 0票数 1

在我的项目中实现了ngCordova,此外,我还在我的应用程序中添加了ngCordovaOauth以生成使用facebook和twitter登录的内容--这就是问题的根源。安装保龄球后,ng-cordova-oauth收到以下错误:

代码语言:javascript
复制
Uncaught Error: [$injector:modulerr] Failed to instantiate module ionicApp due to:
Error: [$injector:modulerr] Failed to instantiate module ngCordova due to:
Error: [$injector:nomod] Module 'ngCordova' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

然后删除对ng-cordova-oauth的引用,问题仍然存在。现在我无法修复它,每次运行我的应用程序都是白色的,并抛出这个错误。

在我的index.html文件中是对ng-cordova.min.js文件的引用,这是我的角模块。

代码语言:javascript
复制
angular.module('SharedServices', ['ionic','ngCordova','ngMap','openfb'])
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-05-05 20:09:29

有效的检查文件,这是很好的。然后,bower install -SF ngCordova引用安装并运行的文件。

票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/30060936

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档