Comments (5)
Hey!
Decided to write my own hook instead! My usecase was limited anyway so it was a better solution
from sound.
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.
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.
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.
(Also, I can advise you to try removing .node_modules and running npm install again.)
from sound.
Related Issues (20)
- nuxt3 notworking HOT 1
- 一个警告 HOT 2
- Not working with Vue3 & Vite3 HOT 8
- Could sound enabled perhaps be unreffed too? HOT 1
- Nuxt 3 failed to resolve import "../../../index" from useSound in runtime HOT 7
- [Suggestion] Replace Vue demi with native Vue 3 composition api
- TypeError: HowlConstructor.value is not a constructor HOT 4
- Nuxt not working with sound HOT 2
- Fade is not a function HOT 1
- no effect
- I got error npm ERR! Conflicting peer dependency: [email protected] HOT 2
- Not work in Vuejs 3 HOT 1
- Type errors when using Ref<number> for volume
- The sound need stop automatically
- The AudioContext was not allowed to start HOT 6
- Could not find a declaration file for module '@vueuse/sound' HOT 3
- Dependency Conflict in Nuxt3 HOT 1
- howler.default is undefined HOT 7
- Cannot use import statement outside a module
- Sound doesn't play in mobile web browsers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sound.