[vue-3] Uncaught TypeError: Cannot read properties of undefined (reading 'defaultConfig')
See original GitHub issueHi, Using Vue3 as CDN.
<flat-pickr v-model="birthdate" :config="{ dateFormat: 'Y-m-d', allowInput: false, altInput: true, altFormat: 'm/d/Y', disableMobile: 'true',}" class="form-control form-control-sm bg-white"></flat-pickr>
[Vue warn]: Unhandled error during execution of mounted hook
at <FlatPickr modelValue=null onUpdate:modelValue=fn<onUpdate:modelValue> config= {dateFormat: 'Y-m-d', allowInput: false, altInput: true, altFormat: 'm/d/Y', disableMobile: 'true'} ... >
at <App>
warn$1 @ vue.global.js:8035
logError @ vue.global.js:8209
handleError @ vue.global.js:8201
callWithErrorHandling @ vue.global.js:8155
callWithAsyncErrorHandling @ vue.global.js:8161
hook.__weh.hook.__weh @ vue.global.js:3475
flushPostFlushCbs @ vue.global.js:8347
render @ vue.global.js:6393
mount @ vue.global.js:4673
app.mount @ vue.global.js:10619
(anonymous) @ index-1.html:91
vue.global.js:8215 Uncaught TypeError: Cannot read properties of undefined (reading 'defaultConfig')
at vue-flatpickr.js:196
at Array.forEach (<anonymous>)
at Proxy.mounted (vue-flatpickr.js:194)
at callWithErrorHandling (vue.global.js:8152)
at callWithAsyncErrorHandling (vue.global.js:8161)
at Array.hook.__weh.hook.__weh (vue.global.js:3475)
at flushPostFlushCbs (vue.global.js:8347)
at render (vue.global.js:6393)
at mount (vue.global.js:4673)
at Object.app.mount (vue.global.js:10619)
(anonymous) @ vue-flatpickr.js:196
mounted @ vue-flatpickr.js:194
callWithErrorHandling @ vue.global.js:8152
callWithAsyncErrorHandling @ vue.global.js:8161
hook.__weh.hook.__weh @ vue.global.js:3475
flushPostFlushCbs @ vue.global.js:8347
render @ vue.global.js:6393
mount @ vue.global.js:4673
app.mount @ vue.global.js:10619
(anonymous) @ index-1.html:91
Thank you
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Cannot read properties of undefined (reading 'meta') in Vue 3 ...
In your individual application you need to set a field in the vue.config.js: module.exports = { // various other settings such as publicPath ......
Read more >Vue: Add Vue3 support #10654 - storybookjs/storybook - GitHub
Uncaught TypeError : _vue.default is not a constructor at Object. ... TypeError: Cannot read properties of undefined (reading ...
Read more >[vue warn]: error in render: "typeerror: cannot read properties ...
I'm using Vue3 and Vuex4 , I keep getting the error: Uncaught TypeError: ... Jest Vuex TypeError: Cannot read properties of undefined (reading...
Read more >Cannot read properties of undefined (reading 'meta') in Vue 3 ...
Coding example for the question Cannot read properties of undefined (reading 'meta') in Vue 3 single-spa app-Vue.js.
Read more >Uncaught (in promise) TypeError: Cannot read property 'i18n ...
Uncaught (in promise) TypeError: Cannot read property 'i18n' of undefined ... Hi There, I have configured and installed vue-storefront 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
Thank you for your help. I got it working now.
Your given example is in-complete, i was unable to re-produce the issue. See my example in action here https://jsfiddle.net/ankurk91/63kzdwLx/3148/