vue.js:5076 [Vue warn]: injection "Symbol(pinia)" not found. #1651
Replies: 2 comments 3 replies
-
What's the version of your vue 2.7? This issue should be fixed in vue > 2.7.6 vuejs/vue#12636 |
Beta Was this translation helpful? Give feedback.
-
I've got the same error in my browser console: The following snippet in my PageManager class (in my Vue 3.2.13 project with Pinia in Version 2.0.22) triggers the warning:
Note, that in this PageManager I only use a page-store whereas in the following 'TheHtmlEditor' I make use of a 'user-store': TheHtmlEditor:
App.vue:
main.js:
It is unclear to me what is triggering the warning and how to avoid it as it produces lengthy outputs in the console. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Reproduction
Reproduction
Steps to reproduce the bug
console warn log: vue.js:5076 [Vue warn]: injection "Symbol(pinia)" not found.
Expected behavior
no waring
Actual behavior
warning
Additional information
after vue2.7
Beta Was this translation helpful? Give feedback.
All reactions