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)

Most upvoted comments

@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 Vue 2.1.6 he 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.6 alone wasnโ€™t enough because Vue itself is installing the wrong version of vue-template-compiler. So yeah, the solution is to specify the version for both, vue and vue-template-compiler.