Cannot read properties of undefined (reading '_application'), Maximum call stack size exceeded
See original GitHub issueI’m seeing this in all projects I’m working on!
To Reproduce
- Open an Ember app in the browser.
- Open Ember Inspector.
- Refresh the browser tab.
Expected behavior
The app is working, Ember Inspector is working.
Actual behavior
The app crashes, Ember Inspector won’t even start.
Uncaught TypeError: Cannot read properties of undefined (reading '_application')
at appStarted (<anonymous>:9601:45)
at Object.initialize (<anonymous>:9721:11)
at index.js:136
at Vertices.each (dag-map.js:231)
at Vertices.walk (dag-map.js:145)
at DAG.each (dag-map.js:75)
at DAG.topsort (dag-map.js:83)
at App._runInitializer (index.js:151)
at App.runInstanceInitializers (index.js:134)
at Class._bootSync (instance.js:111)
Screenshots
Environment
Ember CLI 3.28.3 — earlier version s too Ember 3.28.1 Chrome 96.0.4662.6 (Official Build) dev (64-bit) — reproducible in other versions too, including Chromium-based browsers Windows 10 Pro 64-bit
Additional context
In a production build the error is different.
Demo: https://bit.ly/2Z99YHA
Uncaught RangeError: Maximum call stack size exceeded.
at e.runLoadHooks (vendor-8a7b20fa6e89e74252315c5f231768ff.js:1709)
at s.callback (vendor-8a7b20fa6e89e74252315c5f231768ff.js:3249)
at s.exports (vendor-8a7b20fa6e89e74252315c5f231768ff.js:20)
at requireModule (vendor-8a7b20fa6e89e74252315c5f231768ff.js:7)
at t (vendor-8a7b20fa6e89e74252315c5f231768ff.js:25)
at r (vendor-8a7b20fa6e89e74252315c5f231768ff.js:48)
at <anonymous>:9649:7
at e.runLoadHooks (vendor-8a7b20fa6e89e74252315c5f231768ff.js:1709)
at s.callback (vendor-8a7b20fa6e89e74252315c5f231768ff.js:3249)
at s.exports (vendor-8a7b20fa6e89e74252315c5f231768ff.js:20)
CC @SimonIhmig
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:6 (3 by maintainers)
Top Results From Across the Web
javascript - Maximum call stack size exceeded error
It means that somewhere in your code, you are calling a function which in turn calls another function and so forth, until you...
Read more >JavaScript RangeError: Maximum Call Stack Size Exceeded
The JavaScript RangeError: Maximum call stack size exceeded is an error that occurs when there are too many function calls, or if a...
Read more >JavaScript Error: Maximum Call Stack Size Exceeded
This error is a RangeError. A RangeError typically means an error has occurred outside of a code's argument value for its parameter. Now...
Read more >Uncaught RangeError: Maximum call stack size exceeded
This error is almost always means you have a problem with recursion in JavaScript code, as there isn't any other way in JavaScript...
Read more >RangeError: Maximum call stack size exceeded - Educative.io
In this shot, we will see how to fix the “RangeError: Maximum call stack size exceeded” error. ... The most common source for...
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 FreeTop 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
Top GitHub Comments
Can confirm @antonbavykin1991’s findings.
checked with patch, issue still represented