Uncaught TypeError: r.Vue2.use is not a function #747
Replies: 10 comments 11 replies
-
Same as before, I need a boiled down repro to check. |
Beta Was this translation helpful? Give feedback.
-
The same for me. Production is failed with both, |
Beta Was this translation helpful? Give feedback.
-
This is not enough info for me to check. The plugin runs in Nuxt 2, Nuxt Bridge and Nuxt 3. A boiled down repro will really help |
Beta Was this translation helpful? Give feedback.
-
Hi @posva ! 👋 I am having the same here is a repo for reproduction. After install, if I run |
Beta Was this translation helpful? Give feedback.
-
@Spirico I just had the same error with @pinia/nuxt and it was just that @nuxt/kit couldn't be installed properly because I was on node 16.9.x and it requires node ^16.11.x. Your version v14.18.1 seems okay though.... maybe look better in the logs of npm install (that's how I noticed the warning about the version) or remove your lockfiles and try reinstalling |
Beta Was this translation helpful? Give feedback.
-
Greetings guys! Since I have an issue with But the issue of "r.Vue.use" still persists on the build. The Nuxt.js + pinia app is available to check in this repo: https://github.com/spirico/pinia-nuxt I've tried to resolve it but still no luck. So, I would be glad if someone can point me how to overcome it. |
Beta Was this translation helpful? Give feedback.
-
Hi guys! The bug |
Beta Was this translation helpful? Give feedback.
-
Greetings everyone! |
Beta Was this translation helpful? Give feedback.
-
Hi again @Spirico, I managed to make the build work for Vue 2.x by rewriting the @pinia/nuxt as a custom module in my repo and getting rid of the vue-demi specifics (see working app on this branch). Somehow the exported Vue2 object from vue-demi is not working as expected. Hi @posva, can you tell if you are able to reproduce the |
Beta Was this translation helpful? Give feedback.
-
Why is the issue still closed when there are several reproduction repos? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
With
"@pinia/nuxt": "0.0.9",
I get an error on theproduction
environment.development
works fine. When I downgrade to"@pinia/nuxt": "0.0.7",
, theproduction
environment works again.Sorry for the another strange error. Also perhaps the core issue is not related to pinia, but I can't tell.
In the console, the following error is displayed:
Looks like its coming from these lines in the plugin.
Beta Was this translation helpful? Give feedback.
All reactions