try {
if (!window.jasmine) {
angular.bootstrap(document, ['app']);
}
} catch (e) {
// don't bootstrap more than once.
if(this.console && this.console.log){
console.log(e);
}
}
});](url)**
so, Here I am getting this error.
Uncaught ReferenceError: auth0 is not defined
at Object. (angular-auth0.js:152)
at webpack_require (angular-auth0.js:20)
at Object.module.exports (angular-auth0.js:74)
at webpack_require (angular-auth0.js:20)
at Object.defineProperty.value (angular-auth0.js:63)
at angular-auth0.js:66
@ganeshkaspate i think you could follow my example, i wrote a simple file preauth.js that i call in deps, so no needs to call auth0 module in main. look at that, i'm not so skilled to help you more than this.
Hey, I am using auth0 for my angularJs application. Actually I am getting this error
This is my config.js **require.config({
});
require(['rangy-core', 'rangy-selectionsave'], function (rangyCore) { window.rangy = rangyCore; });**
App.js
define([ 'angular', 'angular-ui-router', 'auth0', 'auth0.auth0' ], function(angular, appConfig, suggestions, displayMapping, AppConstants) { 'use strict';
});**
My main.js
**[define([ 'jquery', 'underscore', 'angular', 'bootstrap', 'jqueryui', 'app/app' ], function($, _, angular) { 'use strict';
});](url)**
so, Here I am getting this error.
Uncaught ReferenceError: auth0 is not defined at Object. (angular-auth0.js:152)
at webpack_require (angular-auth0.js:20)
at Object.module.exports (angular-auth0.js:74)
at webpack_require (angular-auth0.js:20)
at Object.defineProperty.value (angular-auth0.js:63)
at angular-auth0.js:66
So, How to resolve this issue ?