R
R
rokha2021-06-01 08:52:10
Vue.js
rokha, 2021-06-01 08:52:10

Why do I get errors when installing Vue Cli?

npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address'
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. Seehttps://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.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi'

changed 946 packages, and audited 947 packages in 1m

59 packages are looking for funding
run `npm fund` for details

5 high severity vulnerabilities

Some issues need review, and may require choosing
a different dependency.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Kuznetsov, 2021-06-01
@dima9595

These are not errors, but warnings!
PS: When will you learn to translate / read the console, and not ask stupid questions about every little thing on a toaster? You would find the answer in a search engine faster than waiting for the answer here.

A
Alexander, 2021-06-01
@Aleksandr-JS-Developer

I repeat after my colleague: These are not errors, but warnings!
Why do they arise?
NPM is pretty smart stuff. Smarter than you might suspect. It looks to see if there are new versions of dependencies from your project. If there is, he says that, they say, the hero should be updated.
For each individual dependency - a separate small description.
The line that seems to horrify you: "5 high severity vulnerabilities" means that newer versions have been specified/defined as fixing security holes.
Security holes are the price you pay for using 100500 "required" libraries...
Try this:

npm install
npm audit
npm audit fix
npm audit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question