One of my project features is to open pdf. I know IOS is so convenience to use WebView. And I found a package β xcarpentier/rn-pdf-reader-js
(GitHub - xcarpentier/rn-pdf-reader-js: π PDF reader in JavaScript only for Expo - Android &)β which can do it.
But when I try to install the package, it failed with following errors.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined @ undefined
npm ERR! Found: expo @ 42.0.3
npm ERR! node_modules/expo
npm ERR! expo @" ~42.0.1 " from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer expo @" >= 33.0.x < 37.0.x " from rn-pdf-reader-js @ 4.1.1
npm ERR! node_modules/rn-pdf-reader-js
npm ERR! rn-pdf-reader-js @" ***** " from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Would any expertise can help me to solve it or suggest me any other package ?
Thank you very much.
Rgds.
Teddy Law