Open FloppiTuna opened 1 month ago
What is the last working version? I had the same error too!
+2
I was able to downgrade to 1.0.0-rc.12 as a workaround. It’s an older version but it seems to work fine.
On Aug 14, 2024, at 09:37, 77TecShaeer @.***> wrote:
+2
— Reply to this email directly, view it on GitHub https://github.com/cheeriojs/cheerio/issues/4005#issuecomment-2288967956, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIM3YKVA2OSCKQVSJVIXVJLZRNTSBAVCNFSM6AAAAABMMP27C6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBYHE3DOOJVGY. You are receiving this because you authored the thread.
Same here, I get the exact same issue in react native:
The package at "node_modules/cheerio/dist/commonjs/index.js" attempted to import the Node standard library module "node:stream". It failed because the native React runtime does not include the Node standard library.
Previously, I was able to use Cheerio in one of my React Native applications. However after the recent release of v1.0.0 I receive an error upon launch due to it trying to import a NodeJS exclusive library:
expo-env-info output: