Hi Team,
Please help me in installing jpeg-recompress (2.1.1) in rockylinux 9, Im receiving the below error while installing the package. Kindly help.
npm install jpeg-recompress-bin
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
jpeg-recompress-bin@7.0.0 postinstall /home/user/jpeg-recompress-2.6.4/node_modules/jpeg-recompress-bin
node lib/install.js
jpeg-recompress pre-build test passed successfully
npm WARN saveError ENOENT: no such file or directory, open ‘/home/user/jpeg-recompress-2.6.4/package.json’
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open ‘/home/user/jpeg-recompress-2.6.4/package.json’
npm WARN jpeg-recompress-2.6.4 No description
npm WARN jpeg-recompress-2.6.4 No repository field.
npm WARN jpeg-recompress-2.6.4 No README data
npm WARN jpeg-recompress-2.6.4 No license field.
- jpeg-recompress-bin@7.0.0
added 163 packages from 54 contributors and audited 163 packages in 8.148s
6 packages are looking for funding
run npm fund
for details
found 5 vulnerabilities (1 low, 2 moderate, 2 high)
run npm audit fix
to fix them, or npm audit
for details
[root@content-cms jpeg-recompress-2.6.4]# jpeg-recompress --version
bash: jpeg-recompress: command not found
[root@content-cms jpeg-recompress-2.6.4]# jpeg-recompress --version
bash: jpeg-recompress: command not found
npm install --save imagemin-jpeg-recompress
npm WARN deprecated rimraf@2.7.1: 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 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.
jpeg-recompress-bin@5.1.2 postinstall /home/userjpeg-recompress-2.6.4/node_modules/imagemin-jpeg-recompress/node_modules/jpeg-recompress-bin
node lib/install.js
jpeg-recompress pre-build test passed successfully
npm WARN saveError ENOENT: no such file or directory, open ‘/home/user/jpeg-recompress-2.6.4/package.json’
npm WARN enoent ENOENT: no such file or directory, open ‘/home/user/jpeg-recompress-2.6.4/package.json’
npm WARN jpeg-recompress-2.6.4 No description
npm WARN jpeg-recompress-2.6.4 No repository field.
npm WARN jpeg-recompress-2.6.4 No README data
npm WARN jpeg-recompress-2.6.4 No license field.
- imagemin-jpeg-recompress@7.1.0
added 14 packages from 7 contributors and audited 300 packages in 3.101s
7 packages are looking for funding
run npm fund
for details
found 27 vulnerabilities (7 low, 8 moderate, 12 high)
run npm audit fix
to fix them, or npm audit
for details
npm audit fix
npm ERR! code EAUDITNOPJSON
npm ERR! audit No package.json found: Cannot audit a project without a package.json
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2024-06-20T13_28_47_869Z-debug.log