-
Notifications
You must be signed in to change notification settings - Fork 338
Can't enable plugin - Maximum call stack size exceeded #200
Comments
Happens to me as well. Similar to issue 157 |
Same here |
I get the same thing. There's a question on SO about this too: http://stackoverflow.com/questions/27393367/chrome-extension-hint-js-nghintmodules I tried reverting to 0.4.3 and it does seem to fix this problem. |
I get the same problem |
Can anyone get this to repro with a minimal app? |
same here... |
Yeah, I am having the same issue. Error: Chrome Version: 44.0.2403.125 (64-bit) |
Posting another "Me too" won't help us find the issue. If you're encountering this, please try to recreate it with a minimal app. |
This answer suggests it has something to do with module loading: http://stackoverflow.com/a/27399197 Perhaps something to look into? |
I spent a bit of time trying to repro this based on that answer, unfortunately without success.. |
How about if you create a cyclic dependency? Or perhaps you simply need a large application with a large number of dependencies... Here is a current stacktrace from the latest batarang version:
This points to this function (hint.js:1505):
As you can see it is recurses through all modules and their dependencies. Looks like a good place to start. But it also seems this problem is within angular-hint? |
Having trouble reproducing this, but what @sjurba wrote very much makes sense. Would be very easy to trigger an overflow there. |
Theoretical fix in above PR. |
If you can build a version of batarang for me, I can try to test it and see if the fix helped. |
(assuming you have mkdir angular && cd angular
git clone git@github.com:angular/batarang.git
git clone git@github.com:angular/angular-hint.git
cd angular-hint
git checkout track-seen-modules && git pull origin track-seen-modules
npm i && gulp browserify
npm link
cd ../batarang
npm link angular-hint
npm i && gulp browserify ^ Should get you a Batarang repo pointed to the other branch of Angular hint. Open Chrome Extensions, select You should be running the dev version of Batarang in regular Chrome. |
Super. The fix worked. Also double checked by disabling the specific fix by removing: |
Fixed in angular/angular-hint@c91ef9e |
Great stuff SomeKittens and sjurba. |
Why there is no release for that fix? It's still not working in 0.10.1 as there is still old angular-hint in it. |
@bopm The plugin is last Update is October 1, 2015. The fix hasn't been deployed yet to the google extension store. Since the changes are on master, you might be able to follow the guidelines given by SomeKittens, but ignore the line checking out the experimental branch:
|
@Debrice We're working on a release as I'm typing this. |
Is this released yet? I'm still getting maximum call stack exceeded error with the latest build, but the performance metrics seem to continue to work. |
@evanjmg What version are you running? 0.10 or 0.4? (Batarang "Stable" isn't affiliated with this project). |
AngularJS Batarang 0.10.7 - developer mode - followed your commands. |
When trying to enable the plugin via "Enable" checkbox, my website stops working with the following error in the console.
The text was updated successfully, but these errors were encountered: