wonday / react-native-pdf

A <Pdf /> component for react-native
MIT License
1.58k stars 534 forks source link

import undefined.RNPDFPackage error with 6.7.3 #790

Open Ramaraju1992 opened 8 months ago

Ramaraju1992 commented 8 months ago

Hi Team, we facing the below issue for the last two days(maybe after the 6.7.3 release from the library).

if we remove ^ and try installing node modules again. working fine

Screenshot 2023-11-20 at 12 49 45 PM Screenshot 2023-11-22 at 1 02 29 PM
AEP20 commented 8 months ago

thanks it works

fattahmuhyiddeen commented 8 months ago

i face the issue also. i just downgrade back

ElHurta commented 7 months ago

Downgrading enables a critical vulnerability related to CryptoJS. Is there a way to fix it?

denisseIc commented 7 months ago

I am facing the same critical vulnerability when downgrading.

ElHurta commented 7 months ago

Hi everyone, if you're facing a critical vulnerability from crypto-js, you can Override or create a Resolution for the dependency on your package.json:

NPM:

"overrides": {
    "crypto-js": "^4.2.0"
}