andonemax 2022-03-25 11:08 采纳率: 0%
浏览 445

npm install后报错怎么解决?

我是以管理员身份运行idea,通过Terminal运行的npm install,之后报错。
报错如下:
PS C:\Users\Mr.wu\Desktop\考试系统\SpringBoot-Vue-OnlineExam\exam> npm install
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.2 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN @babel/plugin-transform-instanceof@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer d
ependencies yourself.
npm WARN @babel/preset-es2015@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yo
urself.
npm WARN @babel/plugin-transform-arrow-functions@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install p
eer dependencies yourself.
npm WARN @babel/plugin-transform-block-scoped-functions@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must in
stall peer dependencies yourself.
npm WARN @babel/plugin-transform-block-scoping@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install pee
r dependencies yourself.
npm WARN @babel/plugin-transform-classes@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer depe
ndencies yourself.
npm WARN @babel/plugin-transform-computed-properties@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must insta
ll peer dependencies yourself.
npm WARN @babel/plugin-transform-destructuring@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install pee
r dependencies yourself.
npm WARN @babel/plugin-transform-duplicate-keys@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install pe
er dependencies yourself.
npm WARN @babel/plugin-transform-for-of@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer depen
dencies yourself.
npm WARN @babel/plugin-transform-function-name@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install pee
r dependencies yourself.
npm WARN @babel/plugin-transform-literals@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dep
endencies yourself.
npm WARN @babel/plugin-transform-modules-amd@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer
dependencies yourself.
npm WARN @babel/plugin-transform-modules-commonjs@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install
peer dependencies yourself.
npm WARN @babel/plugin-transform-modules-systemjs@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install
peer dependencies yourself.
npm WARN @babel/plugin-transform-modules-umd@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer
dependencies yourself.
npm WARN @babel/plugin-transform-object-super@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer
dependencies yourself.
npm WARN @babel/plugin-transform-parameters@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer d
ependencies yourself.
npm WARN @babel/plugin-transform-regenerator@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer
dependencies yourself.
npm WARN @babel/plugin-transform-shorthand-properties@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must inst
all peer dependencies yourself.
npm WARN @babel/plugin-transform-spread@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer depen
dencies yourself.
npm WARN @babel/plugin-transform-sticky-regex@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer
dependencies yourself.
npm WARN @babel/plugin-transform-template-literals@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install
peer dependencies yourself.
npm WARN @babel/plugin-transform-typeof-symbol@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install pee
r dependencies yourself.
npm WARN @babel/plugin-transform-unicode-regex@7.0.0-beta.53 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install pee
r dependencies yourself.
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.

added 3 packages from 8 contributors and audited 1416 packages in 40.282s

3 packages are looking for funding
run npm fund for details

found 229 vulnerabilities (5 low, 100 moderate, 99 high, 25 critical)
run npm audit fix to fix them, or npm audit for details
求解决

  • 写回答

8条回答 默认 最新

  • 音药 2022-03-25 11:10
    关注

    试一下 cnpm install

    评论

报告相同问题?

问题事件

  • 创建了问题 3月25日