Skip to content

npm warn deprecated: inflight@1.0.6, rimraf@3.0.2, glob@7.2.3 after delete node_modules and package-lock.json #30134

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

Closed
1 task
ph360 opened this issue Apr 19, 2025 · 1 comment

Comments

@ph360
Copy link

ph360 commented Apr 19, 2025

Command

update, config

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

In one project new the angular 19 happen the warn:

C:\pr360-portal-test\pr360-test>npm install
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

Minimal Reproduction

The following step to step to happen the warn:

  1. Delete el folder node_modules of project
  2. Delete el file package-lock.json
  3. run npm install
  4. In the moment of installing show warn.

Image

But, if i run npm install without delete node_modules and package-lock.json don't show anythin warn. Example:

C:\pr360-portal-test\pr360-test>npm install

up to date, audited 1038 packages in 3s

169 packages are looking for funding
run npm fund for details

found 0 vulnerabilities

Image

Exception or Error

C:\pr360-portal-test\pr360-test>npm install
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

Your Environment

Angular CLI: 19.2.8
Node: 22.14.0
Package Manager: npm 11.3.0
OS: win32 x64

Angular: 19.2.7
... common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1902.8
@angular-devkit/build-angular   19.2.8
@angular-devkit/core            19.2.8
@angular-devkit/schematics      19.2.8
@angular/cli                    19.2.8
@angular/ssr                    19.2.8
@schematics/angular             19.2.8
rxjs                            7.8.2
typescript                      5.7.3
zone.js                         0.15.0

Anything else relevant?

Note:

  1. The project is absolutely new: ng new --ssr pr360-test

  2. Only i create el project, not has install other packages.

  3. After of intall packages. i review the file package-lock.json and i see that inflight@1.0.6, rimraf@3.0.2, glob@7.2.3 is in the dependencies that intall the comman npm install

Image

@JeanMeche
Copy link
Member

Those are pulled by Karma. This is an upstream issue.

@JeanMeche JeanMeche closed this as not planned Won't fix, can't repro, duplicate, stale Apr 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants