Issue and Steps to Reproduce
On opening Ember inspector on one of my Ember apps, I am getting the below stack trace.
raven.js:383 Uncaught TypeError: Cannot read property 'Array' of undefined
at n.callback (:402:35)
at n.exports (vendor-ff8d5821b66c1…b3ac1b81a4b902.js:3)
at n._reify (vendor-ff8d5821b66c1…b3ac1b81a4b902.js:3)
at n.reify (vendor-ff8d5821b66c1…b3ac1b81a4b902.js:3)
at n.exports (vendor-ff8d5821b66c1…b3ac1b81a4b902.js:3)
at requireModule (vendor-ff8d5821b66c1…b3ac1b81a4b902.js:3)
at sendVersionMiss (:9612:19)
at :9420:7
at triggerOnce (:9493:7)
at completed (:5962:7)
at d (raven.js:379)
On debugging, I found that it hits the code mentioned in the PR here. Specifically: if (Ember.ENV.EXTEND_PROTOTYPES.Array) is the line throwing the error. In my app, Ember.ENV.EXTEND_PROTOTYPES is undefined.
Your environment
This issue is definitely present on the latest version of the Chrome Browser tool. On Firefox, the stack trace instead says TypeError: Ember.ENV.EXTEND_PROTOTYPES is undefined, but is essentially caused by the same issue. The Ember CLI version for the app is 2.5.0.
Issue and Steps to Reproduce
On opening Ember inspector on one of my Ember apps, I am getting the below stack trace.
raven.js:383 Uncaught TypeError: Cannot read property 'Array' of undefined
at n.callback (:402:35)
at n.exports (vendor-ff8d5821b66c1…b3ac1b81a4b902.js:3)
at n._reify (vendor-ff8d5821b66c1…b3ac1b81a4b902.js:3)
at n.reify (vendor-ff8d5821b66c1…b3ac1b81a4b902.js:3)
at n.exports (vendor-ff8d5821b66c1…b3ac1b81a4b902.js:3)
at requireModule (vendor-ff8d5821b66c1…b3ac1b81a4b902.js:3)
at sendVersionMiss (:9612:19)
at :9420:7
at triggerOnce (:9493:7)
at completed (:5962:7)
at d (raven.js:379)
On debugging, I found that it hits the code mentioned in the PR here. Specifically:
if (Ember.ENV.EXTEND_PROTOTYPES.Array)is the line throwing the error. In my app, Ember.ENV.EXTEND_PROTOTYPES is undefined.Your environment
This issue is definitely present on the latest version of the Chrome Browser tool. On Firefox, the stack trace instead says
TypeError: Ember.ENV.EXTEND_PROTOTYPES is undefined, but is essentially caused by the same issue. The Ember CLI version for the app is 2.5.0.