Issue happening when migrating from @pinia/nuxt 0.4.8 to 0.11.0 #2987
-
ReproductionJust updated the package and when ran npm run build it starts breaking Steps to reproduce the bugwe are using @pinia/nuxt which we tried to upgrade from 0.4.8 to 0.11.0 and ran npm run build and all nuxt pages are now not working and giving below error, checked all the store configurations given in pinia docs but all in vein can any one help on this
Expected behaviorpage should work like normal as it was running before using npm run build Actual behaviorPages were running normal before upgrade Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
same issue upgraded from 0.5.4 -> 0.11.1 |
Beta Was this translation helpful? Give feedback.
-
this is fixed by install pinia it was not in package.json earlier https://pinia.vuejs.org/ssr/nuxt.html
|
Beta Was this translation helpful? Give feedback.
-
I was also getting this error I was finally able to see the actual error which was @posva But I have a deeper question. When using Pinia with Nuxt, the docs guide us to install the Nuxt ![]() Related issues: |
Beta Was this translation helpful? Give feedback.
this is fixed by install pinia it was not in package.json earlier https://pinia.vuejs.org/ssr/nuxt.html
" If you notice that pinia is not installed, please install it manually with your package manager"