TypeError: Cannot read property 'extend' of undefined
See original GitHub issueThis happens every time to me when component is reloaded:
TypeError: Cannot read property 'extend' of undefined
at VM93425 main.js:28952
at Object.reload (VM93425 main.js:28860)
at VM93425 main.js:43826
at Object../src/agilecards/components/edit-settings/TemplateScopeSelector.vue (VM93425 main.js:43831)
at __webpack_require__ (VM93425 main.js:679)
at hotApply (VM93425 main.js:608)
at VM93425 main.js:290
at <anonymous>
Stack trace is not very helpful, but I tracked this exception to line 196:
const newCtor = record.Ctor.super.extend(options)
Looks like super
does not exist in Ctor
(and Ctor
is the Vue constructor function). I’m using Vue 2.5.2.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:13
- Comments:14 (1 by maintainers)
Top Results From Across the Web
Uncaught TypeError: Cannot read properties of undefined ...
In vue 3 there's no exported member called Vue , the right code that's equivalent for Vue.extend is : import { defineComponent }...
Read more >TypeError: Cannot read property 'extend' of undefined - Browser
?Hi @BLeahy - This typically occurs when one of the objects you are accessing in the Synthetic script is null or undefined. If...
Read more >Pusher.js - Cannot read property 'extend' of undefined
Hello everyone, I'm going through the "Pusher Awesomeness" video right now. Unfortunately, I am getting an error while loading the page that includes...
Read more >Cannot read property 'extend' of undefined - Mobiscroll
Hi there. We recently downloaded Calendar as component with ES6 modules. In the AppModule we imported MbscCalendarModule.
Read more >Uncaught TypeError: Cannot read property 'extend' of ...
Uncaught TypeError: Cannot read property 'extend' of undefined(anonymous function) @ store.js:1. getting this error.
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
I also had this issue and it seems like we need to explicitly create the root app instead of creating it directly from our root component.
So instead of this:
I’m using this:
Unfortunatelly the proper way of creating the root instance is very unclear in the official documentation.
@marszall87 I solved this problem with changing vue’s bootstrap, and there seems no problem. my repo