'WARNings and ERRors during Newman installation
I am trying to install Newman globally, but have plenty of logs in the output. I tried to run suggested commands, but still not sure.
How should I address these alerts properly?
C:\Users\sushil>npm install -g Newman
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
changed 111 packages, and audited 112 packages in 31s
5 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
C:\Users\sushil>npm install -g [email protected]
added 2 packages, and audited 39 packages in 26s
1 moderate severity vulnerability
To address all issues, run:
npm audit fix
Run `npm audit` for details.
C:\Users\sushil>npm audit
npm ERR! code ENOLOCK
npm ERR! audit This command requires an existing lockfile.
npm ERR! audit Try creating one first with: npm i --package-lock-only
npm ERR! audit Original error: loadVirtual requires existing shrinkwrap file
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\sushil\AppData\Local\npm-cache\_logs\2022-02-01T12_31_59_360Z-debug-0.log
C:\Users\sushil>npm install -g newman
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
changed 111 packages, and audited 112 packages in 34s
5 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
