Vue 2 Composition API: Cannot read property '$options' of undefined
See original GitHub issueI believe this change broke Vuelidate for my Vue 2 with composition API project, just by updating I started getting this error:
"TypeError: Cannot read property '$options' of undefined"
I created a Code Sandbox. The error I get there is different but I think they are related, something has gone wrong with Vue 2 support.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
vuejs 2 composition api: TypeError: Cannot read properties of ...
The problem isn't with the composition API, problem is with your code. ... Step 2: go to package.json file inside dependencies find "vue": ......
Read more >TypeError: Cannot read property 'options' of undefined #267
I am trying to update vue2 to vue3 I am using: "vue": "^3.0.0-rc.5", ... TypeError: Cannot read property 'options' of undefined #267.
Read more >ERROR Cannot read property 'options' of undefined - Get Help
It looks like find returns undefined if the value you're searching for doesn't exist. Wherever you stop could help you narrow down your...
Read more >Vue: TypeError: Cannot read property of undefined. - Laracasts
My data works fine and populates the template, however I get warning: vue.js:2215 TypeError: Cannot read property 'short_name' of undefined.
Read more >How to fix the Error in data(): "TypeError: Cannot read ...
How to fix the Error in data(): "TypeError: Cannot read properties of null (reading 'config')", Vue2 composition API warning.
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 Free
Top 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
Thats probably it. We are using a newer version,
^1.0.0-rc.1
.You were right, upgrading to the latest Release Candidate of Vue Composition API fixed it, thank you!