marlokessler / strapi-plugin-image-optimizer

Optimize your images for desktop, tablet and mobile and different image formats.
MIT License
14 stars 10 forks source link

Strapi-plugin-image-optimizer error on updating to strapi v4.11 #22

Closed mervinapiag closed 1 year ago

mervinapiag commented 1 year ago

Hi, I encoutered error on updating strapi version 4.11.4. when running npm run develop

Error: Could not load js config file D:\\\node_modules\strapi-plugin-image-optimizer\strapi-server.js: Cannot find module '@strapi/utils/lib/file'

nixjs commented 1 year ago

Me too! The new version had @strapi/utils/dist/file stead of @strapi/utils/lib/file.

marlokessler commented 1 year ago

Hi @mervin-work and @nixjs, thank you for reporting this. The bug was fixed and released with v2.1.1. Could you please verify if it works?

mervinapiag commented 1 year ago

hi @marlokessler, yep, it is working again! thank you!

marlokessler commented 1 year ago

Perfect, thank you!