Uncaught TypeError: Cannot read property 'commit' of null
See original GitHub issueI upgraded from 0.0.11-1 to 0.0.12 and I’ve started seeing this error on a particular route of my app.
The full stack trace:
runtime.js:6407 Uncaught TypeError: Cannot read property 'commit' of null
at Environment.commit (runtime.js:6407)
at Environment.commit (environment.js:266)
at InteractiveRenderer._renderRootsTransaction (renderer.js:359)
at InteractiveRenderer._renderRoot (renderer.js:289)
at InteractiveRenderer._appendDefinition (renderer.js:214)
at InteractiveRenderer.appendOutletView (renderer.js:202)
at invokeWithOnError (backburner.js:216)
at Queue.flush (backburner.js:125)
at DeferredActionQueues.flush (backburner.js:278)
at Backburner.end (backburner.js:410)
Diff of dependencies:
- "@fortawesome/ember-fontawesome": "0.0.11-1",
+ "@fortawesome/ember-fontawesome": "0.0.12",
"@fortawesome/fontawesome-free-brands": "^5.1.0-3",
- "@fortawesome/fontawesome-free-regular": "^5.1.0-3",
- "@fortawesome/fontawesome-free-solid": "^5.1.0-3",
+ "@fortawesome/fontawesome-pro-light": "^5.0.8",
+ "@fortawesome/fontawesome-pro-regular": "^5.0.8",
+ "@fortawesome/fontawesome-pro-solid": "^5.0.8",
You can see I also upgraded to pro icons. Not sure if that has anything to do with it. It’s not out of the question that this error is unrelated to this library. But I thought it’s likely since it’s the only dependency that changed.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Cannot read property 'commit' of undefined VUEX
Please help me it always says Cannot read property 'commit' of undefined. Here is my code in store.js. import Vue from 'vue'; import...
Read more >Cannot read property 'commit' of undefined - Vue Forum
On my case, this error “Cannot read property 'commit' of undefined” was because of the order of the script (app.js):. First Vuex, after...
Read more >Vuex anybody? "TypeError: this.$store.commit is not a function"
Im getting an error here Error in created hook: "TypeError: Cannot read property 'commit' of undefined". Somebody might help me?
Read more >cannot read properties of undefined (reading '$store') - You.com
Here's an example of a JavaScript TypeError: Cannot read property of undefined thrown when a property is attempted to be read on an...
Read more >Cannot read property 'commit' of undefined in .vue and .js file ...
[Solved]-Vuex uncaught TypeError: Cannot read property 'commit' of undefined in .vue and .js file-Vue.js ... You are calling the mutation wrong. You are...
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
@mlwilkerson I figured out the issue. It was completely unrelated to fontawesome. It was caused by a runtime error in a
didInsertElement
hook. Strange. Sorry for the distraction.@mhluska thanks for responding. I finally figured it out. I had two different components, both using ember-radio-button, that were using the same
radioId
.