cache-manager icon indicating copy to clipboard operation
cache-manager copied to clipboard

`cache-manager 5.6.0` fails to load

Open flovouin opened this issue 1 year ago • 2 comments
trafficstars

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current behavior

The issue can actually be observed in #407, which tries to update to cache-manager v5.6.0. See this CI step.

Not only it'd be great to be able to use cache-manager's latest version, but also @nestjs/cache-manager currently depends on version <= 5, which breaks with 5.6.0.

Minimum reproduction code

https://github.com/nestjs/cache-manager/pull/407

Steps to reproduce

No response

Expected behavior

Depending on cache-manager v5.6.0 does not raise an error.

Package version

2.2.2

NestJS version

10

Node.js version

20

In which operating systems have you tested?

  • [X] macOS
  • [ ] Windows
  • [ ] Linux

Other

No response

flovouin avatar Jun 05 '24 15:06 flovouin

i confirm, the 5.5.3 return this error :

The "cache-manager" package is missing. Please, make sure to install this library ($ npm install cache-manager) to take advantage of CacheModule.

But ! The 5.6.1 published 2 hours ago works or with the previous requirement 5.5.3

MikhaelGerbet avatar Jun 05 '24 21:06 MikhaelGerbet

perhaps fixed on this PR

MikhaelGerbet avatar Jun 05 '24 21:06 MikhaelGerbet