Vue Plugin: Cannot read property 'config' of null
See original GitHub issueWe have an app that uses components from a plugin we wrote.
When one of the components (that contains vuelidate) is used we receiving the following error:
vue.runtime.esm.js?2b0e:1888 TypeError: Cannot read property 'config' of null
This occurs at:
const v$ = useVuelidate(rules, buffer);
export default defineComponent<Props, Setup>({
...
setup(props: Props, context): Setup {
...
const v$ = useVuelidate(rules, buffer);
We had issues before with vuelidate in our plugin but thought they were resolved. In fact I thought a fix/update was put in place when we brought our plugin use-case issue up.
Setup: Vuelidate 2 Composition API Plugin Vue 2
I have seen other issues that seem related: https://github.com/vuelidate/vuelidate/issues/815 https://github.com/vuelidate/vuelidate/issues/922
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Cannot read property 'config' of null TypeError - Stack Overflow
This error occurs when angular cannot find .angular-cli.json file (Do note there is a dot in the file name). Usually it is a...
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. #vue ...
Read more >Angular – Cannot read property 'config' of null - iTecNote
If you are using a Mac, use the command ls -a to list hidden files. You will notice that .angular-cli.json will be there....
Read more >ERROR in Cannot read property &#039;length&
Hi,. i just tried to migrate to Angular 9 and followed the Instruction. But getting this mistake: ERROR in Cannot read property 'length'...
Read more >uncaught typeerror: cannot read properties of undefined ...
启动项目时出现Uncaught TypeError: Cannot read properties of undefined (reading 'install')这个错误,检查了下是自己的vue-router安装的版本错误,我写的项目是vue2, ...
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
I have not yet had time to see it. Will do in an hour.
Will put something together.