updating to 2.1.0-beta.11 from 2.0.9 for nuxt fails with Cannot read property 'i18nDriver' of undefined
See original GitHub issueVersions
- vee-validate: 2.1.0-beta-11
- vue: 2.5.17
- nuxt 1.4.2
Describe the bug
Nuxt build fails with error Cannot read property 'i18nDriver' of undefined
To Reproduce Steps to reproduce the behavior:
- update vee-validate to 2.1.0-beta.11 from
2.0.9 - (be sure to clear node_modules to remove cache of 2.0.9)
- rerun nuxt build/
nuxt
Expected behavior Nuxt should build properly.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:10 (4 by maintainers)
Top Results From Across the Web
unplugin-icons - error · Issue #9123 · nuxt/framework - GitHub
ℹ Using default Tailwind CSS file from runtime/tailwind.css. ERROR Cannot start nuxt: Cannot read properties of undefined (reading 'nuxt').
Read more >vue.js - Firebase Nuxt.js - Cannot read properties of undefined ...
I'm using Nuxt.js and I want to add my data on Firebase. When I click add button, it returns an error Error is...
Read more >Nuxt js project do not work on netlify - Support
and i updated sass. Log error in staging link : entry-8d1317b0.mjs:4 TypeError: Cannot read properties of null (reading 'hero_placeholder') at ...
Read more >How To Implement Authentication in a Nuxt.js App
In this tutorial, you'll implement authentication in a Nuxt.js app using ... Cannot read property 'data' of undefined and Error: Cannot find ...
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

As logaretm said, You need to defer any rule extending/localization until vee-validate is installed. For example
Sorry for the inconvenience, From the release notes:
You need to defer any rule extending/localization until vee-validate is installed. I will try to see if it can be avoided/deferred by the plugin in the next release.
Here is a small snippet of a before/after of vee-validate.js plugin for some of our nuxt.js projects: