scrapoxy icon indicating copy to clipboard operation
scrapoxy copied to clipboard

Deprecated issue installation with NodeJS

Open mrwindowsx opened this issue 5 months ago β€’ 0 comments

Current Behavior

I got this notice when installing scrapoxy through Nodejs in Ubuntu: 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 (node:4009) [DEP0056] DeprecationWarning: The util.isString API is deprecated. Please use typeof arg === "string" instead. (Use node --trace-deprecation ... to show where the warning was created)

Expected Behavior

The installation ran successfully but that warning and deprecation should be fixed, by installing the lru-cache with command npm install lru-cache and npm install glob@latest would fix the deprecation. Do these issues come with scrapoxy or nodejs components themselves?

Steps to Reproduce

  1. Install Scrapoxy using the Nodejs method as usual.
  2. The deprecation notice was generated.

Failure Logs

No response

Scrapoxy Version

4.16.0

Custom Version

  • [X] No
  • [ ] Yes

Deployment

  • [ ] Docker
  • [ ] Docker Compose
  • [ ] Kubernetes
  • [X] NPM
  • [ ] Other (Specify in Additional Information)

Operating System

  • [X] Linux
  • [ ] Windows
  • [ ] macOS
  • [ ] Other (Specify in Additional Information)

Storage

  • [X] File (default)
  • [ ] MongoDB & RabbitMQ
  • [ ] Other (Specify in Additional Information)

Additional Information

No response

mrwindowsx avatar Sep 28 '24 15:09 mrwindowsx