vuex icon indicating copy to clipboard operation
vuex copied to clipboard

vue__WEBPACK_IMPORTED_MODULE_0__.reactive) is not a function

Open jmastiholimath opened this issue 4 years ago • 4 comments

Version

4.0.2

Steps to reproduce

Trying to upgrade vue 2 to vue 3 with vuex 4 version and getting below error

vuex.esm-bundler.js?16b2:140 Uncaught TypeError: (0 , vue__WEBPACK_IMPORTED_MODULE_0__.reactive) is not a function

What is actually happening?

Trying to upgrade vue 2 to vue 3 with vuex 4 version using migration build.

jmastiholimath avatar Oct 27 '21 03:10 jmastiholimath

i'm getting this when i try to import vuex into a nativescript-vue application.

peter-brennan avatar Mar 03 '22 11:03 peter-brennan

having the same issue after upgrade. any ideas how to fix?

elliottshane avatar Mar 31 '22 13:03 elliottshane

found this: https://blog.csdn.net/qq_17211063/article/details/123782422 - Worked for me.

It is because of the version problem that you have installed the latest vuex 4 or above:

Solution: Install the 3 series:

First uninstall the installed version 4 of vuex

npm uninstall vuex

Install version 3.6.2

npm install --save [email protected]

elliottshane avatar Mar 31 '22 17:03 elliottshane

I've been struggling with the same problem all day, and thanks to you, I solved it. thank you. I use nativescript-vue version 2.9.3 and solved same error install vuex version 3.6.2

WiseJade avatar Dec 06 '23 08:12 WiseJade