errors integrating with Ionic
See original GitHub issueI am trying to get Permissions working with Ionic v1 but getting the following error:
ReferenceError: module is not defined
var _module = module || {};
Error: [$injector:modulerr] Failed to instantiate module app due to:
[$injector:modulerr] Failed to instantiate module permission due to:
[$injector:nomod] Module 'permission' 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.
http://errors.angularjs.org/1.4.3/$injector/nomod?p0=permission
This is my app.js
angular.module('app', ['ionic', 'app.controllers', 'app.routes', 'app.services', 'app.directives', 'angular-locker', 'satellizer', 'permission'])
.run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
And my index.html
<script src="lib/ionic/js/ionic.bundle.js"></script>
<!-- cordova script (this will be a 404 during development) -->
<script src="cordova.js"></script>
<script src="lib/angular-locker/dist/angular-locker.min.js"></script>
<script src="lib/satellizer/satellizer.min.js"></script>
<script src="lib/angular-permission/dist/angular-permission.js"></script>
<script src="lib/angular-permission/dist/angular-permission-ui.js"></script>
Am I missing something obvious??
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Ionic Error Logging with Sentry using Capacitor - YouTube
Learn to integrate Sentry.io in your Ionic application to setup error logging for Ionic and Capacitor apps! Learn Ionic faster with...
Read more >Error when integrating Ionic Auth service
I'm trying to integrate facebook login to my ionic 2 app. I was following the guide here and all is good until I...
Read more >Error while integrating Auth0 in existing Ionic Cordova App
I'm trying to integrate Auth0 in my existing Ionic Cordova App. I am facing an issue while adding this statement - Auth0Cordova.
Read more >10 Common Ionic Problems & Error Messages (And How to ...
We have all seen many error messages while developing our Ionic apps. Some appear more frequent, others appear only on very special ...
Read more >Using Sentry - Error Monitoring with Ionic Angular Applications
You can monitor your application errors in Sentry's interface, categorize them as done or left, ... Integrate the Sentry with the Ionic Angular...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@designvoid it’s duplicate of https://github.com/Narzerus/angular-permission/issues/249
First of, Bugs you should paste to stack overflow. Next, you include the same angular-permission.js file twice, you should include angular-permission-ui.js file aswell, since Ionic uses ui-router (right?). Last, sure that the files are loaded?