Demonstrandum / strapi-blurhash-plugin

A plugin for Strapi CMS that generates a blurhash (woltapp/blurhash) for your uploaded images
https://market.strapi.io/plugins/strapi-blurhash-plugin
3 stars 4 forks source link

Unable to install with strapi@5 #4

Open monolithed opened 2 weeks ago

monolithed commented 2 weeks ago
➜ npm install strapi-blurhash-plugin
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! Found: @strapi/strapi@5.1.0
npm ERR! node_modules/@strapi/strapi
npm ERR!   @strapi/strapi@"5.1.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @strapi/strapi@"^4.0.0" from strapi-blurhash-plugin@0.2.3
npm ERR! node_modules/strapi-blurhash-plugin
npm ERR!   strapi-blurhash-plugin@"*" from the root project
npm ERR! 
Demonstrandum commented 2 weeks ago

I have not updated the plugin to the new Strapi v5, it's still a Strapi v4 plugin.

Could you test for me whether altering the peer dependency version to 5.0.0 from 4.0.0 in the package.json for this plugin in your node_modules for your project breaks the plugin or not?

If not, I'll just release a version that bumps the peer dependency.

monolithed commented 1 week ago

@Demonstrandum, unfortunately, they've changed the API. You can find an example implementation in this package: strapi-v5-blurhash.

vellnes commented 1 week ago

@Demonstrandum Hi, I am very much looking forward to the new version with strapi v5 support. Your plugin is available in the store, and it's very convenient. I will be glad if you find time to make it compatible with version 5.