component inspector: mergings.indexOf is not a function
See original GitHub issueEmber inspector is choking when opening the components tab. Does this error look familiar? Any tips if it is due to misconfiguration of my app?
Uncaught TypeError: mergings.indexOf is not a function
at addNormalizedProperty (vendor.js:26525)
at mergeMixins (vendor.js:26568)
at applyMixin (vendor.js:26640)
at Class.reopen (vendor.js:38658)
at Class.retainObject (<anonymous>:2949:16)
at Class.retainObject (<anonymous>:4642:42)
at exports.default.inspectComponent (<anonymous>:1518:27)
at <anonymous>:1329:34
at Array.forEach (<anonymous>)
at exports.default.componentsForController (<anonymous>:1321:18)
After it throws the error on the component tab, if I clear the console long and toggle back to say “routes” or “data”, then back to components, it doesn’t throw the error any longer and the components tab works.
Ember inspector version 3.8.0
App version: 3.8.1
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Uncaught TypeError: .indexOf is not a function - Stack Overflow
I am new to JavaScript and I'm getting an error as below. Uncaught TypeError: time.indexOf is not a function. Gee, I really thought...
Read more >Lodash Documentation
Creates an array of array values not included in the other given arrays using ... This method is like _.find except that it...
Read more >Mocha - the fun, simple, flexible JavaScript test framework
simple, flexible, fun. Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun....
Read more >"TypeError: value.indexOf is not a function" thrown when ...
When using g_form.setValue() to change the value for a Currency field and error message is thrown in the browser console with the following...
Read more >Looker functions and operators | Google Cloud
A major part of these expressions is the functions and operators that ... Returns the start index of search_string in string if it...
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
@edeis53 -
mergedProperties
is a special property with special implementation details in Ember.Object (see the docs for details), if you are not trying to use that feature I’d suggest using a different property name is a good idea.@rwwagner90 -
mergedProperties
is allowed to be null (which clobbers any merging behaviors), we should update the code in the inspector to handlenull
values (and add a test for it).Thanks @rwjblue! @nummi would you have some time to implement what Rob suggested, while I am away? I’m not able to do much until June 3rd.