rev087 / ng-inspector

The AngularJS inspector pane for your browser
ng-inspector.org
MIT License
782 stars 93 forks source link

ng-inspector causes some pages not to load #154

Open newduke opened 8 years ago

newduke commented 8 years ago

Loading https://www.udemy.com/courses/office-productivity/ on mac, chrome 47, the page stops loading after error:

Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.3.8/$injector/modulerr?p0=directives.common.f…lar%2Fangular.min.js%3Fv%3Dh%3Ac5135af99d2b3ad249473e6ded1dfb61%3A17%3A350)
    at Error (native)
    at https://www.udemy.com/staticx/udemy/js/bower_components/angular/angular.min.js?v=h:c5135af99d2b3ad249473e6ded1dfb61:6:416
    at https://www.udemy.com/staticx/udemy/js/bower_components/angular/angular.min.js?v=h:c5135af99d2b3ad249473e6ded1dfb61:36:98
    at s (https://www.udemy.com/staticx/udemy/js/bower_components/angular/angular.min.js?v=h:c5135af99d2b3ad249473e6ded1dfb61:7:302)
    at g (https://www.udemy.com/staticx/udemy/js/bower_components/angular/angular.min.js?v=h:c5135af99d2b3ad249473e6ded1dfb61:35:202)
    at Ob (https://www.udemy.com/staticx/udemy/js/bower_components/angular/angular.min.js?v=h:c5135af99d2b3ad249473e6ded1dfb61:38:435)
    at d (https://www.udemy.com/staticx/udemy/js/bower_components/angular/angular.min.js?v=h:c5135af99d2b3ad249473e6ded1dfb61:17:350)
    at Object.sc (https://www.udemy.com/staticx/udemy/js/bower_components/angular/angular.min.js?v=h:c5135af99d2b3ad249473e6ded1dfb61:18:153)
    at Object.window.angular.bootstrap (chrome-extension://aadgmnobpdmgmigaicncghmmoeflnamj/ng-inspector.js:1506:25)
    at https://www.udemy.com/staticx/udemy/js/jq/ud.package.all.js?v=h:f306c2bb2bbae6ce169eb2ea7a4b6ff7:12:3257
newduke commented 8 years ago

This only seems to happen on pages with multiple angular apps.

jawache commented 8 years ago

Hia this is causing bugs across all Udemy courses and stops students from being able to post questions and discussions.

I raised with Udemy and apparently they identified it as an issue with ng-inspector and raised with you directly?

Unfortunately i've had to recommend to students not to install ng-inspector cause of the bug :(

JamesHaskell commented 8 years ago

I've personally encountered this problem attempting to access Udemy courses with ng-inspector active in the Chrome browser.

jarst commented 8 years ago

Confirmed. Chrome 48

silvestreh commented 8 years ago

There's an extension called Extension Automation that can disable one o more extensions for a given URL. I'm using this to disable ng-inspector when browsing Udemy.

Splaktar commented 8 years ago

I'm seeing this with the Firebase Console as well:

ng-inspector: An error occurred attempting to invoke directive: fbCardActionBar Error: [ng:areq] http://errors.angularjs.org/1.5.9-local+sha.e8e8186/ng/areq?p0=fn&p1=not%20a%20function%2C%20got%20Object
    at eval (third_party/javascript/angular/v1_5/angular.min.js:6)
    at wb (third_party/javascript/angular/v1_5/angular.min.js:22)
    at Pa (third_party/javascript/angular/v1_5/angular.min.js:22)
    at Function.fb.$$annotate (third_party/javascript/angular/v1_5/angular.min.js:196)
    at e (third_party/javascript/angular/v1_5/angular.min.js:36)
    at Object.invoke (third_party/javascript/angular/v1_5/angular.min.js:37)
    at new Service (ng-inspector.js:789)
    at Function.NGI.Service.Service.parseQueue (ng-inspector.js:893)
    at new Module (ng-inspector.js:1110)
    at Function.NGI.Module.Module.register (ng-inspector.js:1120)
Service @ ng-inspector.js:791
ng-inspector.js:791 ng-inspector: An error occurred attempting to invoke directive: fbCardActionBarSearchBox Error: [ng:areq] http://errors.angularjs.org/1.5.9-local+sha.e8e8186/ng/areq?p0=fn&p1=not%20a%20function%2C%20got%20Object
    at eval (third_party/javascript/angular/v1_5/angular.min.js:6)
    at wb (third_party/javascript/angular/v1_5/angular.min.js:22)
    at Pa (third_party/javascript/angular/v1_5/angular.min.js:22)
    at Function.fb.$$annotate (third_party/javascript/angular/v1_5/angular.min.js:196)
    at e (third_party/javascript/angular/v1_5/angular.min.js:36)
    at Object.invoke (third_party/javascript/angular/v1_5/angular.min.js:37)
    at new Service (ng-inspector.js:789)
    at Function.NGI.Service.Service.parseQueue (ng-inspector.js:893)
    at new Module (ng-inspector.js:1110)
    at Function.NGI.Module.Module.register (ng-inspector.js:1120)
Service @ ng-inspector.js:791
ng-inspector.js:791 ng-inspector: An error occurred attempting to invoke directive: fbTimeSeriesSparkline Error: [ng:areq] http://errors.angularjs.org/1.5.9-local+sha.e8e8186/ng/areq?p0=fn&p1=not%20a%20function%2C%20got%20Object
    at eval (third_party/javascript/angular/v1_5/angular.min.js:6)
    at wb (third_party/javascript/angular/v1_5/angular.min.js:22)
    at Pa (third_party/javascript/angular/v1_5/angular.min.js:22)
    at Function.fb.$$annotate (third_party/javascript/angular/v1_5/angular.min.js:196)
    at e (third_party/javascript/angular/v1_5/angular.min.js:36)
    at Object.invoke (third_party/javascript/angular/v1_5/angular.min.js:37)
    at new Service (ng-inspector.js:789)
    at Function.NGI.Service.Service.parseQueue (ng-inspector.js:893)
    at new Module (ng-inspector.js:1110)
    at Function.NGI.Module.Module.register (ng-inspector.js:1120)

Removing the extension solves the problem.

d2chau commented 8 years ago

I too am seeing the issue that @Splaktar is seeing and I'm on Chrome 54.0.2840.98 on OSX.

jklegseth commented 8 years ago

I have the same issue as @Splaktar and @d2chau with the Firebase Console, Chrome, OSX, Version 54.0.2840.98.