[go: nahoru, domu]

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

npm warns of inflight use during installation #7214

Open
KenSharp opened this issue May 23, 2024 · 5 comments
Open

npm warns of inflight use during installation #7214

KenSharp opened this issue May 23, 2024 · 5 comments
Assignees

Comments

@KenSharp
Copy link

Environment info

$ firebase --version
13.10.0

Platform: Ubuntu 22.04

Steps to reproduce

$ sudo npm install -g firebase-tools
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.

Of course I realise this could be a dependency of a dependency.

@google-oss-bot
Copy link
Contributor

This issue does not seem to follow the issue template. Make sure you provide all the required information.

@lazydoug
Copy link
lazydoug commented May 24, 2024

I just experienced this after running npm update.

Disclaimer: I am not using Firebase though. I'm working with Next.js.

@KenSharp, the issue is not with Firebase or Next.js either, but with third-party packages that depend on inflight.

You can confirm this by running the command npm ls inflight. The result is a trace/list of packages that are dependents of the inflight package.

You can read more here https://stackoverflow.com/questions/76412987/why-npm-ls-does-not-return-all-dependencies/78529720#78529720

@UsmanAli2002
Copy link
UsmanAli2002 commented May 28, 2024

im also facing same issue when running " install -g firebase-tools "

these are the warning :

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

i event updated the npm nvm and firebase tools to latest versions.
Note: i want to connect firebase with flutter project.

@joehan
Copy link
Contributor
joehan commented Jun 3, 2024

Hey all, thanks for reporting this. I've taken a pass thru and updated all the dependencies to minimize the use of the deprecated packages. I've also opened issues for our dependencies that are still using outdated inflight/glob, and will update once they've released versions that no longer use them.

@MalahimHaseeb
Copy link

i also facing these warnings during installation of vite , react or next js.What should i do to solve these warnings

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 @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
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
npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead

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

No branches or pull requests

6 participants