KABBOUCHI / vue-tippy

VueJS Tooltip powered by Tippy.js
https://vue-tippy.netlify.app
MIT License
726 stars 87 forks source link

Error using directive v-tippy 6.0.0-alpha.36 #225

Closed antoniogiroz closed 2 years ago

antoniogiroz commented 2 years ago

I've just updated Vue (to 3.2.13) and vue-cli (5.0.0-rc.1) and now v-tippy directive does not work.

 Uncaught TypeError: Cannot read properties of undefined (reading 'push')
    at getProps (vue-tippy.esm-browser.js?978b:4325)
    at mount (vue-tippy.esm-browser.js?978b:4413)
    at useTippy (vue-tippy.esm-browser.js?978b:4446)
    at mounted (vue-tippy.esm-browser.js?978b:4698)
    at callWithErrorHandling (runtime-core.esm-bundler.js?d2dd:6737)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?d2dd:6746)
    at invokeDirectiveHook (runtime-core.esm-bundler.js?d2dd:3046)
    at Array.eval (runtime-core.esm-bundler.js?d2dd:3955)
    at flushPostFlushCbs (runtime-core.esm-bundler.js?d2dd:6938)
    at Object.render (runtime-core.esm-bundler.js?d2dd:4945)

Any idea?

I've also tried with vue-tippy 6.0.0-alpha.41 and I get the same error.

KABBOUCHI commented 2 years ago

plz can u try v6.0.0-alpha.42?

antoniogiroz commented 2 years ago

Is it already published? I'm trying to update and it says this version does not exist. Although I can see it in npm versions https://www.npmjs.com/package/vue-tippy/v/6.0.0-alpha.42

[Updated]

npm ERR! code ETARGET
npm ERR! notarget No matching version found for vue-tippy@^6.0.0-alpha.42.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

What's wrong?

KABBOUCHI commented 2 years ago

it's working for me, maybe try again?

antoniogiroz commented 2 years ago

It works!

I had to run npm cache clean --force before.

Tested with v6.0.0-alpha.43 version

Thanks!