Pinia Docs instructions not working for Nuxt3 #2025
Unanswered
dbzx10299
asked this question in
Help and Questions
Replies: 1 comment
-
Use a different package manager e.g yarn or pnpm. Only npm has this problem |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using nuxt with the latest version
^3.2.2
and I needed to start using a store so I went to the docs and followed the instructions with npm.I ran this command
and this led to the below error
There are further instructions to add this to the
package.json
file:Once this is finished there is another error
I tried deleting the
package-lock.json
file and thenode_modules
folder and still I kept getting the same error.The only thing that worked and I don't know if it's wrong to do this but I had to run
Beta Was this translation helpful? Give feedback.
All reactions