Installation throws error: ERESOLVE unable to resolve dependency tree #727
Replies: 8 comments 13 replies
-
This sounds like you are using a mirror registry instead of the npm one |
Beta Was this translation helpful? Give feedback.
-
@posva thanks for the reply! I don't know :/ I installed LTS (v14.x) from here |
Beta Was this translation helpful? Give feedback.
-
I don't know why but it's possible to install Pinia via plugin https://github.com/wobsoriano/vue-cli-plugin-pinia So running vue add vue-cli-plugin-pinia works.. |
Beta Was this translation helpful? Give feedback.
-
I tested and pinia installs normally so this is either a problem with your npm registry or there was a disruption with npm and you just have to try installing it again. |
Beta Was this translation helpful? Give feedback.
-
Hey @posva. I saw your Tweet about Pinia & Nuxt 3, so I tried to add it to my new Nuxt 3 project. Unfortunately, I got a very similar error:
|
Beta Was this translation helpful? Give feedback.
-
IDK but force might work, as it works for me
❤️ |
Beta Was this translation helpful? Give feedback.
-
Add this to "overrides": {
"vue": "latest"
} See also: https://pinia.vuejs.org/ssr/nuxt.html#Installation |
Beta Was this translation helpful? Give feedback.
-
If anyone still have the same problem... |
Beta Was this translation helpful? Give feedback.
-
Reproduction
OS: Pop!_OS 21.04 (Ubuntu)
node version: v14.18.1
npm version: 7.5.2
Vue CLI version: 4.5.13
Vue version: 3.0.0
Steps to reproduce the behavior
This is what I did so far:
I get this error
Expected behavior
I want to install it :-)
Actual behavior
I can't install it :-(
Additional information
The information from eresolve-report.txt
The information from 2021-10-16T16_19_15_753Z-debug.log
Beta Was this translation helpful? Give feedback.
All reactions