When using the npm install command in the local execution guide, a warning message is displayed! #11163
Open
5 tasks done
Labels
🤔 cant-reproduce
We can not reproduce it or the information is limited
Self Checks
Dify version
0.12.1
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
When using the npm install command in the local execution guide, a warning message is displayed!
npm WARN deprecated [email protected]: 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.
✔️ Expected Behavior
This message indicates that the [email protected] module, used by your project or one of its dependencies, is deprecated and no longer supported. It also mentions that this module has issues like memory leaks and advises against using it.
Instead, it recommends using lru-cache, which is designed for managing async requests in a safer and more robust manner.
If you don’t have direct control over this dependency (e.g., it’s part of another dependency), you can:
To proceed with the
npm install
command without warnings, you can use the--legacy-peer-deps
flag, but note that this only suppresses the warning and doesn’t resolve the underlying issue.❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: