nicolashmln / strapi-plugin-responsive-image

Custom responsive image formats for https://strapi.io
160 stars 29 forks source link

Strapi v4.15.2 is seemingly incompatible #45

Closed alpapaydin closed 11 months ago

alpapaydin commented 11 months ago

Problem appears when creating and modifying src/extensions/upload/strapi-server.js as instructed.

[2023-11-25 15:34:12.011] debug: ⛔️ Server wasn't able to start properly. [2023-11-25 15:34:12.015] error: Package subpath './server/services/image-manipulation' is not defined by "exports" in /home/alp/proje/apex/node_modules/@strapi/plugin-upload/package.json Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server/services/image-manipulation' is not defined by "exports" in /home/alp/proje/apex/node_modules/@strapi/plugin-upload/package.json at new NodeError (node:internal/errors:406:5) at exportsNotFound (node:internal/modules/esm/resolve:268:10) at packageExportsResolve (node:internal/modules/esm/resolve:598:9) at resolveExports (node:internal/modules/cjs/loader:547:36) at Module._findPath (node:internal/modules/cjs/loader:621:31) at Module._resolveFilename (node:internal/modules/cjs/loader:1034:27) at Module._load (node:internal/modules/cjs/loader:901:27) at Module.require (node:internal/modules/cjs/loader:1115:19) at require (node:internal/modules/helpers:130:18) at Object. (/home/alp/proje/apex/node_modules/strapi-plugin-responsive-image/server/services/image-manipulation.js:14:27)

UnKnoWn-Consortium commented 11 months ago

This pull request https://github.com/nicolashmln/strapi-plugin-responsive-image/pull/43 intends to fix it. At the moment, you can try to implement the fix manually by copying the changes.

Drunkenpilot commented 11 months ago

Got the same problem....