epubjs-rn
epubjs-rn copied to clipboard
Element ref was specified as string (framer) but no owner was set.
Hello guys,
I am a noob for epub and working on react-native project to implement epub reader. After installing everything, I got the following error:
This issue appears only when I try to put source in <Epub />
My config is like following:
{ "name": "epub", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "start": "react-native start", "test": "jest", "lint": "eslint ." }, "dependencies": { "@lightbase/react-native-orientation": "^3.2.6", "@react-native-community/async-storage": "^1.10.0", "epubjs-rn": "^0.1.5", "react": "16.11.0", "react-native": "0.62.2", "react-native-fs": "^2.16.6", "react-native-static-server": "^0.4.2", "react-native-zip-archive": "^5.0.2", "rn-fetch-blob": "^0.12.0", "stream": "0.0.2", "stream-browserify": "^2.0.2", "util": "^0.12.0" }, "devDependencies": { "@babel/core": "^7.9.6", "@babel/runtime": "^7.9.6", "@react-native-community/eslint-config": "^1.1.0", "babel-jest": "^26.0.1", "eslint": "^6.8.0", "jest": "^26.0.1", "metro-react-native-babel-preset": "^0.59.0", "react-test-renderer": "16.11.0" }, "jest": { "preset": "react-native" } }
Delete the folder react
from node_modules/epub-js/node_modules
Delete the folder
react
fromnode_modules/epub-js/node_modules
When I delete the folder "react" from node_modules/epub-js/node_modules
, i have an issue like this =>