ts1 / flipbook-vue

3D page flip effect for Vue.js
https://ts1.github.io/flipbook-vue/
614 stars 158 forks source link

Getting Maximum recursive updates exceeded when trying to use the library #111

Open p1pah opened 6 months ago

p1pah commented 6 months ago

Good evening,

I have attempted to use this library in vue3 a couple of times now, but have had 0 luck. I can't get it working with even the most basic of examples. Try turning the page by clicking or dragging on the image, and you will see in the console that the library yields: Uncaught (in promise) Maximum recursive updates exceeded. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.

Any help would be greatly appreciated, attached is a code sandbox to replicate the issue..

Codesandbox: https://codesandbox.io/p/devbox/flipbook-vue3-trwkdm?file=%2Fsrc%2FApp.vue%3A2%2C1

p1pah commented 6 months ago

image

Pikiko14 commented 6 months ago

U solve this issues??

p1pah commented 6 months ago

@Pikiko14 I did, anyone running into this, it is something to do with the package-lock.json file. Make sure you fork the repo from github rather than cloning the npm package. Once I forked the repo, it worked like 🧈