-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Out of stack space #18
Comments
Thanks. I will take a look at this. |
Not sure about this. Can you provide more detail? |
We've had the same error on app startup when we perform $browserDetect.isIE for the past year or two in IE11. Our app runs inside Windows applications that need to use IE11 still, and it hasn't been a real problem until in just the last few weeks - in production - the error is now triggering a error dialog to be raised that users need to click before they can proceed. The error occurs when the getCurrentScript() function is called here; The IE11 console displays this; Before I could get the error to hit vue-browser-detect-plugin.js specifically (i.e. split out the scripts etc. in build) I was seeing a reference to this exception; Is this just a missing polyfill - or a polyfill conflict perhaps? |
Update...Found a polyfill solution for this issue soon after posting the question. Solution confirmed on this Stack Overflow article; "Just in case someone working with Nuxt comes up to such message, just bundle a pollyfill from pollyfill.io with a document.currentScript & it will solve the problem. This answer has helped me to indentify the polyfill name. – StartedFromTheBottom - Aug 30 at 7:43" Added via script section in head via Nuxt.config; Polyfill builder; Polyfill URL generated; |
Hello,
I've been running Sentry to detect issues on our apps. I noticed this error comes up often:
Out of stack space
It's triggered by getCurrentScript
./node_modules/vue-browser-detect-plugin/dist/vue-browser-detect-plugin.umd.js in getCurrentScript at line 1044:5
49
This is how I've been using it:
import browserDetect from "vue-browser-detect-plugin";
Vue.use(browserDetect);
and then I make one call in the vue template: $browserDetect.isIE
It does not seem to be affecting the application, it just seems that getCurrentScript never stops running.
The text was updated successfully, but these errors were encountered: