Skip to content

Update the strapi-plugin-rest-cache devDependency in package.json #607

@geeky-biz

Description

@geeky-biz

The older strapi-plugin-rest-cache has a peerDependency of Strapi v4 (specifically "^4.0.5") but the latest version of strapi-plugin-navigation has a Strapi devDependency of "^5.14.0". This results in dependency conflict when trying npm install as below:

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @strapi/[email protected]
npm error node_modules/@strapi/strapi
npm error   dev @strapi/strapi@"^5.14.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @strapi/strapi@"^4.0.5" from [email protected]
npm error node_modules/strapi-plugin-rest-cache
npm error   dev strapi-plugin-rest-cache@"^4.2.9" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error

With the new @strapi-community/plugin-rest-cache now available for Strapi v5, updating this dependency shall address the dependency conflict issue.

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions