TypeError: Object(...) is not a function at createPinia #1148
-
Hi! I can't seem to run Pinia at all with Vue3, I get a browser console error at createPinia.
Here's my
(actually this is not my real And my
I am using Vue CLI, and I also tried with the unofficial plugin as described in the docs but without success (do I have to do something more than just yarn add it ?) Also might be worth mentioning I had this problem and fixed it as described here, even though I have to say I may not grasp completely what's happening here. I have to say I found nothing about this and don't know where to search anymore. Maybe I'm not seeing something obvious, but I'll really appreciate some help |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 8 replies
-
got same error and found no solutions yet |
Beta Was this translation helpful? Give feedback.
-
I'm working with Vue < 3 and have the same problem/error - my |
Beta Was this translation helpful? Give feedback.
-
I update vue from @3.1.5 to @3.2.45 and it works for me.
|
Beta Was this translation helpful? Give feedback.
-
just in case some one has this issue notice that pinia version 2.1.0 and update requires Vue 3.3 - so this might lead to the same issue |
Beta Was this translation helpful? Give feedback.
-
Now I got same error with vue 3.2.47:
|
Beta Was this translation helpful? Give feedback.
fixed this error by upgrade VUE3 bcoz difference version of @vue/reactivity --- version @3.1.1 to @3.2.31.
there's no 'effectScope' exported in dependency @vue/reactivity @3.1.1