问题记录:

PS F:\web_tools\new-works\Vue_test_three\vuextest> npm install vuex --save

npm WARN [email protected] requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies your
self.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"an
y"} (current: {"os":"win32","arch":"x64"})

  • [email protected]
    added 1 package from 1 contributor and audited 12117 packages in 17.045s
    found 15 vulnerabilities (3 low, 8 moderate, 4 high)
    run npm audit fix to fix them, or npm audit for details

PS F:\web_tools\new-works\Vue_test_three\vuextest> npm audit fix

npm WARN [email protected] requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies your
self.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"an
y"} (current: {"os":"win32","arch":"x64"})

added 1 package from 4 contributors and updated 1 package in 8.637s
fixed 6 of 15 vulnerabilities in 12117 scanned packages
2 vulnerabilities required manual review and could not be updated
5 package updates for 7 vulns involved breaking changes
(use npm audit fix --force to install breaking changes; or refer to npm audit for steps to fix these manually)

PS F:\web_tools\new-works\Vue_test_three\vuextest> npm audit fix --force

npm WARN using --force I sure hope you know what you are doing.

\> [email protected] install F:\web_tools\new-works\Vue_test_three\vuextest\node_modules\fsevents
\> node install.js

Skipping 'fsevents' build as platform win32 is not supported
npm WARN [email protected] requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies your
self.
npm WARN [email protected] requires a peer of webpack@^3.1.0 but none is installed. You must install pee
r dependencies yourself.
npm WARN [email protected] requires a peer of webpack@1 || ^2 || ^2.1.0-beta || ^2.2.0-rc || ^3 but none is ins
talled. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^1.0.0 || ^2.0.0 || ^3.0.0 but none is installed. You
must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^2.2.0 || ^3.0.0 but none is installed. You must install p
eer dependencies yourself.