vue-multiselect: Uncaught TypeError with Vue 2.1.7
Iโm getting this error after upgrading to Vue 2.1.7 (I was on Vue 2.1.6 before):
Uncaught TypeError: Cannot set property 'isRootInsert' of undefined
at createElm (vue@2.1.7:4055)
at createChildren (vue@2.1.7:4164)
at createElm (vue@2.1.7:4089)
at VueComponent.patch [as __patch__] (vue@2.1.7:4507)
at VueComponent.Vue._update (vue@2.1.7:2483)
at VueComponent.<anonymous> (vue@2.1.7:2457)
at Watcher.get (vue@2.1.7:1663)
at new Watcher (vue@2.1.7:1655)
at VueComponent.Vue._mount (vue@2.1.7:2456)
at VueComponent.Vue$3.$mount (vue@2.1.7:6078)
I put this JSbin together, in case it helps. And hereโs a (resolved) Vuejs issue which might be related since the error message is similar.
Also: Merry christmas! ๐
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 18 (6 by maintainers)
@silvestreh just delete node_modules and insert vue@2.1.6 and vue-template-compiler@2.1.6 version on package.json and npm install.
I have same issue with same plugin (Vue
2.1.7). With Vue2.1.6he worked correctly.Published
vue-multiselect@2.0.0-beta.13. ๐ I hope this solves the problems!That must be related to https://github.com/vuejs/vue/releases ๐ Going to recompile the plugin in a moment ๐
@rousos87 thatโs exactly what I ended up doing while this issue gets resolved ๐ . Installing
vue@2.1.6alone wasnโt enough because Vue itself is installing the wrong version ofvue-template-compiler. So yeah, the solution is to specify the version for both,vueandvue-template-compiler.