xcarpentier / rn-pdf-reader-js

📄 PDF reader in JavaScript only for Expo - Android & iOS capable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to install rn-pdf-reader-js on expo > 37

SatyamBansal opened this issue · comments

Issue Description

Unable to install rn-pdf-reader-js
I have tried installing it first on expo 38 then on expo 39. Please Help.

Steps to Reproduce / Code Snippets

[FILL THIS OUT]

npm i rn-pdf-reader-js

Expected Results

It should get installed successfully on expo 36+ as mentioned in docs

Additional Information

  • Nodejs version: v15.1.0
  • React Native version: 0.63
  • rn-pdf-reader-js version: 4.1.1
  • Platform(s) (iOS, Android, or both?): NA
  • Expo version: 39.0.0

image

not able to install this dependancy ..facing the same error

Did anyone find a solution to this?

Nope, I ended up installing it with --force flag, and somehow it worked. Also for me, it's throwing as an error only on node v15. I tried switching to node v14.16.0 LTS, and now it's only there as a warning not as an error anymore. So now I am using node 14.16.0 LTS for my work.

I think the developer should provide a proper fix ..

I had to get it from another app that was using expo sdk36, then pasted it in node_modules of my sdk40 app, then i went on to download js-base64(which this library depends on ) manually and put it inside the node_modules of this library.

Now it works.

Just install with Yarn.
Works well in expo 41

commented

Just install with Yarn.
Works well in expo 41

Same here, although using npm. No issues on Expo v 41.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.