When using npm to install things. Always report the following errors. Figure out what's going on.

clipboard.png

npm WARN ajv-keywords@3.2.0 requires a peer of ajv@ ^ 6.0.0 but none is installed. You must install peer dependencies yourself. Npm WARN The package @ nuxtjs/axios is included as both a dev and production dependency. Npm WARN The package @ nuxtjs/proxy is included as both a dev and production dependency. Npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.3 (node_modulesfsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.3: wanted {"os": "darwin", "arch": "any"} (current: {"os": "win32", "arch": "x64"}) + vue-clipboard2@0.1.1 updated 1 package in 30.863s [!] 45 vulnerabilities found [20043 packages audited] Severity: 10 Low | 28 Moderate | 6 High | 1 Critical Run npm audit for more detail

Mar.30,2021

isn't that a warning message


this is a warning (WARN, is usually yellow), not an error (ERROR, is usually red)

warnings generally do not affect the normal operation of programs. The reason may be a package upgrade. For example, if the 2.x.x version is upgraded to the 3.x.x version, the dependent package also needs to be upgraded, but you can still use it if you do not upgrade. It is estimated that the next major version will prompt an error

.

vulnerabilities vulnerability, follow its instructions and try, npm audit?

Menu