-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not upgrade project to Vue 3.2.1 #576
Comments
Same here.
|
Can you privide the complete log output for the error? |
Just install the Vue Composition Lib with the following command:
|
Does the issue still exist? |
Error still exists for me. I forked this repo and removed line https://github.com/ecomfe/vue-echarts/blob/main/package.json#L60. This removes the peer dependency "@vue/composition-api", which is not required for Vue 3. |
It is marked as an optional peer deps, are you still using |
No I'm on latest npm. Works with yarn though. |
Yea, still causing issues with npm v8.3.1, works with yarn though. |
Any update on this issue? Nuxt 3 is currently on RC and will be cementing the need for working Vue3 support. See: https://v3.nuxtjs.org/bridge/bridge-composition-api |
I still cannot reproduce this with npm@8: ➜ ve-test ls
index.html package.json
➜ ve-test npm ls
ve-test@1.0.0 /Users/justineo/dev/ve-test
└── (empty)
➜ ve-test npm -v
8.7.0
➜ ve-test npm i -D vue echarts vue-echarts
added 27 packages, and audited 28 packages in 5s
2 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
➜ ve-test npm ls
ve-test@1.0.0 /Users/justineo/dev/ve-test
├── echarts@5.3.2
├── vue-echarts@6.0.2
└── vue@3.2.33
➜ ve-test |
This is still an ongoing problem |
As provided in ecomfe#576 (comment)
Is this still a problem? Can you provide a repo that can reproduce this issue? |
npm install echarts - works fine CONSOLE npm ERR! code ERESOLVE LOG-FILE: npm resolution error reportWhile resolving: undefined@undefined Could not resolve dependency: Conflicting peer dependency: vue@2.6.14 Fix the upstream dependency conflict, or retry This ist a minimal project solution. |
I had the same problem. Updating from npm 7.24.2 to npm 9.5.1 solved this issue for me. My stack is also Nuxt3 and Vuetify3. |
Same issue. echarts install fine, but vue-echarts throw this error node v: 16.5.0 |
When I add vue-echarts to my Nuxt3 project by I hope this helpes. My Environment: |
The npm resolution error shows that the conflict is from Lines 76 to 80 in 53ebc29
...but npm doesn't seem to respect this. As Does it work with npm if we enable the |
would be nice if this was fixed. |
|
I have the same problem with npm 10.2.3. Adding |
I still cannot reproduce with npm 10.2.3. Can you elaborate on how to reproduce this error in a fresh project? |
Not really which surprises me. I get this error in existing project. I stripped down package.json as much as I could and you can find the result here: reproduction.zip |
I gave this error during installation using command "npm i echarts vue-echarts": Could not resolve dependency: Fix the upstream dependency conflict, or retry |
How are you introducing Vue-ECharts into your project?
ES Module imports
Versions
Details
I have a projet running all versions described about. Everything runs ok.
If I want to upgrade Vue to a newer version, I run npm update.
It seems a package @VUE\composition-api block the update.
Can you assist
Reproduction
https://codesandbox.io/s/charming-night-2y6m6?file=/package.json
The text was updated successfully, but these errors were encountered: