Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
p1pah opened this issue Feb 23, 2024 · 5 comments
Open

Comments

@p1pah
Copy link

p1pah commented Feb 23, 2024

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
Copy link
Author

p1pah commented Feb 23, 2024

image

@Pikiko14
Copy link

Pikiko14 commented Mar 3, 2024

U solve this issues??

@p1pah
Copy link
Author

p1pah commented Mar 4, 2024

@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 🧈

@itr-tayyababbas
Copy link

itr-tayyababbas commented Sep 16, 2024

vue 2 related npm package is working fine but after migration into vue 3 the updated vue 3 flipbook version is producing this error
Uploading Screenshot 2024-09-16 at 12.29.49 PM.png…

@p1pah
Copy link
Author

p1pah commented Sep 17, 2024

@itr-tayyababbas it's a package-lock.json issue, you need the one from his repo...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants