Skip to content
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

Bump vue to vue 3.0.4 #6

Closed
redsuperbat opened this issue Dec 18, 2020 · 5 comments
Closed

Bump vue to vue 3.0.4 #6

redsuperbat opened this issue Dec 18, 2020 · 5 comments

Comments

@redsuperbat
Copy link

Please bump vue to the latest version. Right now it does not wanna install in my vue 3 project!

@Tahul
Copy link
Member

Tahul commented Dec 20, 2020

Hello @redsuperbat ;

Could you provide the log message from your package manager so I can take a look at what's wrong with using the package with Vue 3.0.4 ?

As you can see in the repository, the "demo" folder is actually running Vue 3.0.4 and vue-use-sound without any problems.

The peerDependency parameter is allowing >=3.0.0-rc0 (first Vue 3 release), so it should actually accept every version of Vue 3.

Thank you for your issue anyway, I hope we can find a fix to your problem.

@redsuperbat
Copy link
Author

Alright cool. I did not see that. Here are the logs trying to use npm to install the package:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: netterberg_co@0.1.1
npm ERR! Found: vue@3.0.4
npm ERR! node_modules/vue
npm ERR! vue@"^3.0.3" from the root project
npm ERR! peer vue@"^2.0.0 || >=3.0.0-rc.0" from vue-use-sound@1.0.2
npm ERR! node_modules/vue-use-sound
npm ERR! vue-use-sound@"" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@">= 2.5 < 3" from @vue/composition-api@1.0.0-beta.22
npm ERR! node_modules/@vue/composition-api
npm ERR! peer @vue/composition-api@"^1.0.0-beta.1" from vue-use-sound@1.0.2
npm ERR! node_modules/vue-use-sound
npm ERR! vue-use-sound@"
" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/max/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/max/.npm/_logs/2020-12-21T12_13_15_677Z-debug.log

@Tahul
Copy link
Member

Tahul commented Dec 27, 2020

You should maybe try following the error output and try --force & --legacy-peer-deps.

I'm using this package on at least 2 Vue 3 projects, and it works seamlessly.

I would be glad to help you out if you could provide a little bit more details about your project.

Thanks you @redsuperbat

@Tahul
Copy link
Member

Tahul commented Dec 27, 2020

(Also, I can advise you to try removing .node_modules and running npm install again.)

@redsuperbat
Copy link
Author

Hey!

Decided to write my own hook instead! My usecase was limited anyway so it was a better solution ☺️ Might revisit this later if the need for the package arises but for now I'll close the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants