strapi-community / strapi-plugin-slugify

A plugin for Strapi Headless CMS that provides the ability to auto slugify a field for any content type.
https://market.strapi.io/plugins/strapi-plugin-slugify
MIT License
45 stars 21 forks source link

Strapi 4.11.4: Cannot find module '@strapi/utils/lib/errors' #98

Closed JEliasLugo closed 1 year ago

JEliasLugo commented 1 year ago

Cannot find module '@strapi/utils/lib/errors' Strapi 4.11.4 moved the sanitized and errors to "import { errors, sanitize } from '@strapi/utils';"

kevinvugts commented 1 year ago

I can confirm that @JEliasLugo identified this issue correctly! Strapi moved it to another package.

plcdnl commented 1 year ago

same issue. Is there a temporary solution ?

maxostarr commented 1 year ago

I am also having this issue. I've created a patched version as a workaround for now. https://www.npmjs.com/package/strapi-plugin-slugify-error-fix

maxostarr commented 1 year ago

99 Fixes this issue.

limpep commented 1 year ago

Thanks, hopefully can get it in soon

douwepausma commented 1 year ago

If you need a quick fix until the new versions is released: npm install ComfortablyCoding/strapi-plugin-slugify#pull/99/head

ComfortablyCoding commented 1 year ago

I'll try and get a new release with the fix today.

ComfortablyCoding commented 1 year ago

This should be fixed in the latest release (v2.3.3)