Skip to content

app/devtools fail with 'RangeError: Maximum call stack size exceeded' when inspecting apps containing angular based custom elements #70452

Description

@atsjo

Is this a bug report or a feature request?

  • Bug Report
  • Feature Request

Please provide the steps to reproduce the issue [Bug Report only]

  1. clone https://github.com/atsjo/repro-devtools
  2. run pnpm i -> pnpm start
  3. open angular devtools and inspect app
  4. observe devtools not showing anything and 'RangeError: Maximum call stack size exceeded' logged in console

Please provide the expected behavior vs the actual behavior you encountered [Bug Report only]

no stack overflow error and working devtools

Please provide a screenshot if possible [Bug Report only]

Image

Please provide the exception or error you saw [Bug Report only]

ERROR RangeError: Maximum call stack size exceeded
    at getParentInjectorLocation (_debug_node-chunk.mjs:514:10)
    at getInjectorParent (_debug_node-chunk.mjs:12152:26)
    at getInjectorResolutionPathHelper (_debug_node-chunk.mjs:12116:18)
    at getInjectorResolutionPathHelper (_debug_node-chunk.mjs:12126:9)
    at getInjectorResolutionPathHelper (_debug_node-chunk.mjs:12126:9)
    at getInjectorResolutionPathHelper (_debug_node-chunk.mjs:12126:9)
    at getInjectorResolutionPathHelper (_debug_node-chunk.mjs:12126:9)
    at getInjectorResolutionPathHelper (_debug_node-chunk.mjs:12126:9)
    at getInjectorResolutionPathHelper (_debug_node-chunk.mjs:12126:9)
    at getInjectorResolutionPathHelper (_debug_node-chunk.mjs:12126:9)

Is this a browser-specific issue? If so, please specify the device, browser, and version. [Bug Report only]


Description [Feature Request only]

No response

Proposed solution [Feature Request only]

No response

Alternatives considered [Feature Request only]

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions