I’m trying to install mermaid-filter
globally using npm
with the command:
npm i -g mermaid-filter
However, the installation gets stuck and doesn’t complete. My terminal shows several deprecation warnings and then hangs with a rotating cursor at the end. The last few lines I see are:
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.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
npm warn deprecated
npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
npm warn deprecated [email protected]: < 22.8.2 is no longer supported
-
After this, nothing happens, and the cursor keeps rotating indefinitely.
Here is a GIF of the terminal behavior for reference:
Has anyone encountered this issue before? Any advice on how to proceed or fix this?