-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep getting "getActivePinia()" was called but there was no active Pinia
error
#93
Comments
See vuejs/pinia#2820 |
Thanks for the prompt response Eduardo! Excluding The weird thing is my reproduction is neither a monorepo nor uses Edit: I keep getting the following warning on the console, is it related to this as well?
Sorry if I'm being too picky but we're trying Colada as an alternative to Tanstack Query for a relatively big project and warnings make me a bit worried. |
There are a few issues related to Nuxt (or vite) and deps. I recommend you to add |
FYI, the latest |
Thank you very much Eduardo! |
I wanted to give Pinia Colada a try because it really looks great!
But immediately after I do the setup and try to use
useQuery
, I get the error in the title. I am not calling Pinia anywhere at all and the stack shows it is being called in Colada. I have a very simpleapp.vue
:Here is a reproduction: https://stackblitz.com/edit/github-xmm1oh?file=app.vue
The text was updated successfully, but these errors were encountered: