Array.forEach Call Stack Exceeded in dist 3.1.5
See original GitHub issueQ | A |
---|---|
Bug or feature request? | Bug |
Which Swagger-UI version? | 3.1.5 swagger-ui-dist |
How did you install Swagger-UI? | Downloaded ZIP release |
Which broswer & version? | Chrome |
Which operating system? | Mac OS X |
Demonstration API definition
Trying to instantiate bundle with
const ui = window.SwaggerUIBundle({
url: testUrl,
domNode: this.swaggerContainer,
deepLinking: false,
presets: [
window.SwaggerUIBundle.presets.apis,
window.SwaggerUIStandalonePreset
],
plugins: [
window.SwaggerUIBundle.plugins.DownloadUrl
],
layout: 'StandaloneLayout'
})
produces an error
"RangeError: Maximum call stack size exceeded
at Array.forEach (<anonymous>)
at http://localhost:3000/swagger-ui/swagger-ui-bundle.js:38:712
at Array.forEach (<anonymous>)
at e.exports (http://localhost:3000/swagger-ui/swagger-ui-bundle.js:38:639)
at http://localhost:3000/swagger-ui/swagger-ui-bundle.js:38:919
at Array.forEach (<anonymous>)
at http://localhost:3000/swagger-ui/swagger-ui-bundle.js:38:712
at Array.forEach (<anonymous>)
at e.exports (http://localhost:3000/swagger-ui/swagger-ui-bundle.js:38:639)
at http://localhost:3000/swagger-ui/swagger-ui-bundle.js:38:919"
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Why am I getting "RangeError: Maximum call stack size ...
I'm trying to create buttons using a forEach loop and to test that I setup everything correctly I put in ...
Read more >Maximum call stack size exceeded at Array.forEach ... - GitHub
RangeError: Maximum call stack size exceeded at Array. ... -utils@1.0.0-beta.16@@vue/test-utils/dist/vue-test-utils.js:3006:16) at Array.
Read more >vue maximum call stack size exceeded - You.com | The AI ...
src/main.ts Syntax Error: RangeError: Maximum call stack size exceeded at Array.forEach (<anonymous>) at Array.forEach (<anonymous>) at Array.
Read more >Deal With “Maximum Call Stack Size Exceeded” in JavaScript
How to avoid the "Maximum call stack size exceeded" JavaScript error that can occur when dealing with large arrays and using the spread...
Read more >[Resolved] RangeError: Maximum call stack size exceeded ...
Hello, (node:11557) UnhandledPromiseRejectionWarning: RangeError: Maximum call stack size exceeded at Array.forEach (<anonymous>) at Object.
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 Free
Top 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
Wow, that’s an incredible turn around time. You guys are fantastic
@oysteinsigholt Thanks for handling this, much appreciated!