cloudinary-community / next-cloudinary

⚡️ High-performance image delivery and uploading at scale in Next.js powered by Cloudinary.
https://next.cloudinary.dev
MIT License
237 stars 64 forks source link

[Bug] Failed to install the package with pnpm #446

Closed jercomio closed 4 months ago

jercomio commented 4 months ago

Failed to install package with pnpm

Failed to install next-cloudinary package with pnpm install next-cloudinary.

Here is the error in the console :

GET https://registry.npmjs.org/next-cloudinary error (ERR_INVALID_THIS)
ERR_PNPM_META_FETCH_FAIL  GET https://registry.npmjs.org/next-cloudinary: Value of "this" must be of type URLSearchParams
Capture d’écran 2024-03-05 à 11 58 18 AM
colbyfayock commented 4 months ago

hey, this is a strange one, but i suspect this isn't related to Next Cloudinary

i did a quick search and found this, which may have some info: https://github.com/pnpm/pnpm/issues/6424

the original Bug template for creating this issue included some questions about environment which may speak towards the issue you're having, specifically the node version from some of the comments in that thread

I tested installing it locally on my machine on node 18 and 16

jercomio commented 4 months ago

Yeah, it looks like it's coming from Node v20. Thanks for the thread !