question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Array.forEach Call Stack Exceeded in dist 3.1.5

See original GitHub issue
Q 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:closed
  • Created 6 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
kyeoticcommented, Aug 18, 2017

Wow, that’s an incredible turn around time. You guys are fantastic

0reactions
webroncommented, Aug 18, 2017

@oysteinsigholt Thanks for handling this, much appreciated!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found