Cannot find module 'pinia/dist/pinia.mjs' #2721
-
ReproductionReproduction Steps to reproduce the bugInstall nuxt Expected behaviorNuxt starts Actual behaviorNuxt doesn't start Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I couldn't reproduce the error, I followed these steps: · npx nuxi@latest init |
Beta Was this translation helpful? Give feedback.
-
I'm having the same problem. The documentation here is wrong: https://pinia.vuejs.org/ssr/nuxt.html It says you only need to run "npx nuxi@latest module add pinia", and that doesn't work. |
Beta Was this translation helpful? Give feedback.
I couldn't reproduce the error, I followed these steps:
· npx nuxi@latest init
· added the following on package.json
"overrides": { "vue": "latest" }
· npm install pinia @pinia/nuxt
· npm run dev