Code Monkey home page Code Monkey logo

Comments (5)

redsuperbat avatar redsuperbat commented on July 20, 2024 1

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!

from sound.

Tahul avatar Tahul commented on July 20, 2024

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.

from sound.

redsuperbat avatar redsuperbat commented on July 20, 2024

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: [email protected]
npm ERR! Found: [email protected]
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 [email protected]
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/[email protected]
npm ERR! node_modules/@vue/composition-api
npm ERR! peer @vue/composition-api@"^1.0.0-beta.1" from [email protected]
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

from sound.

Tahul avatar Tahul commented on July 20, 2024

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

from sound.

Tahul avatar Tahul commented on July 20, 2024

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

from sound.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.