Skip to content
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

5.3.0 missing dist/ folder on npmjs.org #611

Closed
HorribleJibe opened this issue Nov 16, 2023 · 28 comments
Closed

5.3.0 missing dist/ folder on npmjs.org #611

HorribleJibe opened this issue Nov 16, 2023 · 28 comments
Labels

Comments

@HorribleJibe
Copy link

Hi team,

The 5.3.0 release of cache-manager appears to be missing the dist/ folder when installed from npmjs.org.

https://www.npmjs.com/package/cache-manager/v/5.2.4?activeTab=code
https://www.npmjs.com/package/cache-manager/v/5.3.0?activeTab=code

Am I missing something?

@Bojianye
Copy link

Same, the cache-manager folder does not contain any source code.

@w3nder
Copy link

w3nder commented Nov 16, 2023

up

@kimtiago
Copy link

up!

@waynemamahit
Copy link

Up!

1 similar comment
@mmendivilg
Copy link

Up!

@dhianica
Copy link

up

@mmendivilg
Copy link

My production app is not deploying because of this error:

[Nest] 14136 - 11/16/2023, 7:51:25 PM ERROR [PackageLoader] The "cache-manager" package is missing. Please, make sure to install this library ($ npm install cache-manager) to take advantage of CacheModule.

I was wondering if anyone can tell me what to do to fix this temporarily?

@kimtiago
Copy link

My production app is not deploying because of this error:

[Nest] 14136 - 11/16/2023, 7:51:25 PM ERROR [PackageLoader] The "cache-manager" package is missing. Please, make sure to install this library ($ npm install cache-manager) to take advantage of CacheModule.

I was wondering if anyone can tell me what to do to fix this temporarily?

add "cache-manager": "5.2.4" as dependency of your package.json, this will force to use this version

@mmendivilg
Copy link

My production app is not deploying because of this error:
[Nest] 14136 - 11/16/2023, 7:51:25 PM ERROR [PackageLoader] The "cache-manager" package is missing. Please, make sure to install this library ($ npm install cache-manager) to take advantage of CacheModule.
I was wondering if anyone can tell me what to do to fix this temporarily?

add "cache-manager": "5.2.4" as dependency of your package.json, this will force to use this version

Thank you for the quick reply
despite having in my package.json

"cache-manager": "^5.2.1",

I keep getting this errorr:

Nov 17 02:45:12 ip-172-31-38-180 web: #033[96msrc/app/tenant/roles/services/roles-cache.service.ts#033[0m:#033[93m1#033[0m:#033[93m23#033[0m - #033[91merror#033[0m#033[90m TS2307: #033[0mCannot find module 'cache-manager' or its corresponding type declarations.

Nov 17 02:45:12 ip-172-31-38-180 web: #33[7m1#033[0m import { Cache } from 'cache-manager';

@mtripathy-palo
Copy link

mtripathy-palo commented Nov 17, 2023

@mmendivilg - You would have to use the tilde(~) and not ^ with the version
"cache-manager": "~5.2.1",

This will ensure the version stays as 5.2.x (only gets bumped to patch versions when available).
In this case 5.3.0 is the failing version.

@mmendivilg
Copy link

@mmendivilg - You would have to use the tilde(~) and not ^ with the version "cache-manager": "~5.2.1",

This will ensure the version stays as 5.2.x (only gets bumped to patch versions when available). In this case 5.3.0 is the failing version.

Saved my life. Thank you

@yurikgs
Copy link

yurikgs commented Nov 17, 2023

same problem here :)

@yeli19950109
Copy link

same problem

@salmanx
Copy link

salmanx commented Nov 17, 2023

Same problem! No src or dist folder inside cache manager codebase in node modules.

@md-redwan-hossain
Copy link

same problem

@anhhaduy1
Copy link

+1

1 similar comment
@QuentinLemCode
Copy link
Contributor

+1

@QuentinLemCode
Copy link
Contributor

I suggest an automated workflow for avoid this in the future : #612

@aretit2533
Copy link

+1

@leifermendez
Copy link

up

@FabianMeul
Copy link

+1

netroy added a commit to n8n-io/n8n that referenced this issue Nov 17, 2023
…elog) (#7745)

Once the packages are published to NPM, they don't have the
`pnpm-lock.yaml` to fix dependency versions. Which means that any
dependency with `^` gets auto-upgrade to the latest matching minor,
which can cause issues like
[this](jaredwray/cache-manager#611).
@jandersonTIC
Copy link

up!

netroy added a commit to n8n-io/n8n that referenced this issue Nov 17, 2023
…elog) (#7745)

Once the packages are published to NPM, they don't have the
`pnpm-lock.yaml` to fix dependency versions. Which means that any
dependency with `^` gets auto-upgrade to the latest matching minor,
which can cause issues like
[this](jaredwray/cache-manager#611).
@nikhildoifode
Copy link

+1

@jason2han
Copy link

up!

@joepegler
Copy link

+1

@jaredwray
Copy link
Owner

Hi All. Sorry for the failure and I am working on a publish now. It should be out in the next hour.

@jaredwray
Copy link
Owner

This has been released with a dist folder 5.3.1. Again, this was my fault and I will make it so it doesnt happen again.

@QuentinLemCode
Copy link
Contributor

@jaredwray can you look at this PR please : #612

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests