react-epub-viewer
react-epub-viewer copied to clipboard
Get error regeneratorRuntime is not defined
I try to create epub reader, and trying to make a new copy but still get error regeneratorRuntime is not defined on ReactViewer
and here my code
Ok. I'll check! 🙆♂️
Ok. I'll check! 🙆♂️
im glad to hear that, thank you
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"
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
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
Got the same issue. Thanks for saving man