Open 6youss opened 1 year ago
Please try v6.6.1 to confirm it works or not.
@wonday still V6.6.1 is not working....
After updating version to 6.6.1 i have Face some issue mention below
** Error: While trying to resolve module react-native-pdf
from file E:\P\Osama_Raza_books\screens\BookReading.js
, the package E:\P\Osama_Raza_books\node_modules\react-native-pdf\package.json
was successfully found. However, this package itself specifies a main
module field that could not be resolved (E:\P\Osama_Raza_books\node_modules\react-native-pdf\index.js
. Indeed, none of these files exist:
Yeah does not work. 6.6.1 - I reverted to 6.5.0
error TS2604: JSX element type 'Pdf' does not have any construct or call signatures.
66 <Pdf style={styles.pdf} source={{ uri }} onError={(error) => log.error('Error on PDF load', error)} />
FYI: There's a 6.6.2 on npm now that seems to be working for me!
Right now its is working
Hello everyone,
I'm encountering with the same error. This is my environment. Any help would be appreciated, Thanks in advance.
System:
OS: Windows 10 10.0.22621
CPU: (16) x64 Intel(R) Core(TM) i7-10870H CPU @ 2.20GHz
Memory: 4.68 GB / 15.78 GB
Binaries:
Node: 14.18.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-213.7172.25.2113.9123335
Visual Studio: Not Found
Languages:
Java: 11.0.18
Python: 3.10.11
npmPackages:
@react-native-community/cli: Not Found
react: ~16.9.
0 => 16.9.0
react-native: ~0.62.0 => 0.62.3
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
hello @wonday i just upgraded to v6.6.0 i see that main entry in package.json points to
dist/index.js
but there's nodist/index.js
file in thereact-native-pdf
innode_modules