-
Notifications
You must be signed in to change notification settings - Fork 151
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
Unable to resolve "warnOnce" #167
Comments
any update on this? I am also facing the same issue |
No , I don't get any update |
any workaround? |
me too facing same issue on this package |
Hi! I was able to solve the problem by adding a blacklist in my metro.config.js. I found it here. Also I changed my react-native-webview to version 9.0.2, that seemed to work best. |
Workaround
Add epub_renderer.html in "\android\app\src\main\assets" folder of project
|
change your metro.config.js to: const blacklist = require('metro-config/src/defaults/blacklist'); module.exports = { And change your webview version to -> 9.0.2 And also use -> @ottofeller/epubjs-rn https://www.npmjs.com/package/@ottofeller/epubjs-rn import {Epub} from '@ottofeller/epubjs-rn' Dont forget width and height |
Unable to resolve "warnOnce" from "node_modules\epubjs-rn\node_modules\react-nat
ive-zip-archive\node_modules\react-native\Libraries\react-native\react-native-im
plementation.js"
Failed building JavaScript bundle.
The text was updated successfully, but these errors were encountered: