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

Get error regeneratorRuntime is not defined #90

Open
ariealdiansyah opened this issue Jan 17, 2023 · 6 comments
Open

Get error regeneratorRuntime is not defined #90

ariealdiansyah opened this issue Jan 17, 2023 · 6 comments

Comments

@ariealdiansyah
Copy link

I try to create epub reader, and trying to make a new copy but still get error regeneratorRuntime is not defined on ReactViewer

image

and here my code

image

@altmshfkgudtjr
Copy link
Owner

Ok. I'll check! 🙆‍♂️

@ariealdiansyah
Copy link
Author

Ok. I'll check! 🙆‍♂️

im glad to hear that, thank you

@Nirator78
Copy link

Same problem here on NextJS stack:
"next": "13.1.6",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-epub-viewer": "^0.2.0"

@Nirator78
Copy link

Nirator78 commented Feb 5, 2023

Ok. I'll check! 🙆‍♂️

im glad to hear that, thank you

You can add
import "regenerator-runtime"
On your code and it's resolve for me !
Source: Link

@altmshfkgudtjr
Copy link
Owner

I was too busy with what I was doing, so I couldn't check it.

Thanks for suggesting a way. We will review it soon! 🙂
@Nirator78

@sangeethnandakumar
Copy link

Got the same issue. Thanks for saving man

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

4 participants