-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Deprecated inflight
dependency
#17306
Comments
Same issue here |
In Vite's lockfile,
Some are probably dev deps, but just listing these from the lockfile, and we need to update them first before we can remove |
what do i do now??? |
Ignore it? It isn't breaking anything. Or you could try to see if the packages I mentioned above have moved away from |
okay Thank You |
This comment has been minimized.
This comment has been minimized.
@bluwy The issue is coming from
The only viable solution I see is vite updating to Temporary workaround: add
|
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. |
Just use the workaround I described above in #17306 (comment) |
Could we avoid the issue if we simply update Eslint to V9 ? |
So, by migrating to version 9, those warnings would disappear? If that's the case, we would only need to run the command globally? |
For eslint, which only comes from Vite's react templates, #12860 will migrate it to eslint v9, however there seems to be some blockers before we can do that. |
#17431 removes the |
Any news on this? |
@Srossiprieto See the workaround I posted in #17306 (comment) You could also override the @humanwhocodes deprecations, so if you don't want to see any eslint 8-related warnings anymore, add the following to
|
я вот честно сюда когда захожу, вообще без плнятия , что где, мне б Русификатор... |
I am also getting the same 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. |
#12860 has been merged and released in create-vite 5.5.0, which bumps the eslint templates to v9 |
Describe the bug
Today when I was setting up a new project, I got the following message when installing dependencies:
"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."
Reproduction
npm create vite@latest
Steps to reproduce
Run 'npm install'
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: