Vue-i18n: Uncaught TypeError: bind is not a function

Created on 1 Mar 2017  路  4Comments  路  Source: kazupon/vue-i18n

package

vue-i18n 5.0.2
npm 4.2.0
vue 2.2.0

location

set: bind(function (val) { langVM.lang = val; }, langVM) in vue-i18n.common.js?9608:196
how to solve this problem?

Most helpful comment

Thank you always your using!
To upgrade v5.0.3, You can resolve the issue. :)

All 4 comments

Same issue here, only on upgrade to latest vue release - 2.2.0

vue-i18n.common.js L207 - var bind = Vue.util.bind;

From vue changelog -

https://github.com/vuejs/vue/releases

Many exposed methods and properties on Vue.util have been removed. If you previously relied on them, you should migrate off of them since this object is intended for internal use only - it is not (and has never been) considered part of the public API and may change without notice in the future.

Could be the issue?

thx!! I reinstall vue2.1.0 and solve the issue

Thank you always your using!
To upgrade v5.0.3, You can resolve the issue. :)

What version of vue-i18n do I have to use to get it working on Vue 2.1.8?

Was this page helpful?
0 / 5 - 0 ratings