-
Notifications
You must be signed in to change notification settings - Fork 13
Strapi-plugin-image-optimizer error on updating to strapi v4.14.4 #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
for quick fix add "@strapi/utils": "4.14.3" to package.json |
I added "resolutions": {
"@strapi/utils": "4.14.4"
} to my Strapi |
Because this issue appears in strapi v.4.14.4. Just change @strapi/utils version on lower |
I tested from Here's my dependencies "dependencies": {
"@ckeditor/strapi-plugin-ckeditor": "^0.0.9",
"@escape.tech/graphql-armor": "^2.3.1",
"@strapi/plugin-graphql": "^4.14.4",
"@strapi/plugin-i18n": "4.14.4",
"@strapi/plugin-users-permissions": "4.14.4",
"@strapi/strapi": "4.14.4",
"build": "^0.1.4",
"mysql": "2.18.1",
"strapi-plugin-image-optimizer": "^2.1.1",
"strapi-plugin-sitemap": "^3.0.3",
"strapi-provider-ftp-upload": "^1.0.0",
"strapi-ulid": "^0.1.3",
"zod": "^3.22.4"
},
"resolutions": {
"@strapi/utils": "4.14.3" // 4.14.2, 4.14.0, 4.13.7, 4.13.6, 4.13.5, 4.13.4, 4.13.3, 4.13.2, 4.13.1, 4.12.7, 4.12.6, 4.12.5, 4.12.4, 4.12.1, 4.12.0
}, |
Add it into dependencies section, not resolutions. And don’t forget rerun build command |
It WORKS !!!!!! Many thanks. Strapi can up to |
How did you guys manage to fix this adding utils? i get errors even on installing the package. Any plans on releasing a fix? |
Add "dependencies": {
"@strapi/plugin-i18n": "4.15.0",
"@strapi/plugin-users-permissions": "4.15.0",
"@strapi/strapi": "4.15.0",
"build": "^0.1.4",
"mysql": "2.18.1",
"strapi-plugin-image-optimizer": "^2.1.1",
"strapi-provider-ftp-upload": "^1.0.3",
"strapi-ulid": "^0.1.3",
"zod": "^3.22.4",
"@strapi/utils": "4.14.3" // <- this line
}, And then run |
I have this error:
i can run without problem |
Error: Could not load js config file /home/jaro/work/landing/server/node_modules/strapi-plugin-image-optimizer/strapi-server.js: Cannot find module '@strapi/utils/dist/file'
I think it because of strapi/strapi#18308
The text was updated successfully, but these errors were encountered: