staskobzar / vue-audio-visual

VueJS audio visualization components
MIT License
687 stars 109 forks source link

Uncaught (in promise) TypeError: hv2 is not a function at Proxy.render (AvBase.js:181:12) #104

Open sanderdechering opened 2 years ago

sanderdechering commented 2 years ago

Anyone know a fix for this issue?

staskobzar commented 2 years ago

Hello, what vue version do you use 2 or 3? Can you provide a code example?

faroit commented 2 years ago

@staskobzar i seem to have the same/similar problem. I was adding vue-audio-visual to a sli.dev presentation using

import { defineAppSetup } from '@slidev/types'
import AudioVisual from 'vue-audio-visual'

export default defineAppSetup(({ app, router }) => {
    // Vue App
    app.use(AudioVisual)
})

...restarted the server and AudioVisual seemed to load fine. But as soon as I added the component <av-bars audio-src="/ten.wav"></av-bars> to the slides, i get the following errors:

image

my vue version is 3.2.34

Thanks for looking into this. It seems the only up-to-date vuetified audio player left!

staskobzar commented 2 years ago

@faroit thanks for the report. I confirm the problem with vue3. Interesting that when I have vue-audio-visual on my local drive with all dependencies and point in "package.json" to that local folder then it works image

Probably some plugin build problems. All my projects are still in vue2 and I am only planning to start upgrading to vue3 and upgrade this plugin. I am not sure when I will be able to do that but will try to follow up. Best regards

staskobzar commented 2 years ago

Hello, I am working on new version on vue3. It will take some time but I hope to have soon new vue3 release ready