@pinia/nuxt@npm:0.4.11 doesn't provide vue (p95b2b), requested by pinia
I'm unable to compile when running yarn install. I'm using Node v18.16.1. I'm getting:
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @pinia/nuxt@npm:0.4.11 doesn't provide vue (p95b2b), requested by pinia
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements
I tried installing vue directly but the error persists.
Did you have a previous install? If so I'd recommend deleting the node_modules folder as lots of things changed with the migration to Nuxt 3.
Also the project was built using npm, so I'd recommend you stick to it. I just tried installing dependencies with yarn, and even though I couldn't reproduce your exact issue, another runtime issue did pop up.
The versions I work with:
node: 18.16.0
npm: 9.5.1
I had originally tried with pnpm, then yarn. I just deleted node_modules and tried installing with npm and now I'm seeing another error:
Cannot find module '/Users/allen/git/mostro/mostro-web/node_modules/@scure/bip39/wordlists/english' imported from /Users/allen/git/mostro/mostro-web/node_modules/nostr-tools/lib/esm/nostr.mjs Did you mean to import @scure/bip39/wordlists/english.js?
I'm using:
node: 18.16.1
npm: 9.5.1
Funny, that's the same issue I mentioned I had with yarn. I just tried to install things with node 18.16.1 and had no issues. Also was your package-lock.json modified by all these attempts?
I tried deleting package-lock.json and node_modules but still see the same error.