• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

npm i 安装报错 (node 版本问题)

武飞扬头像
辛巴没有克
帮助1

  1.  
    PS D:\qieyin-main-frontend\huwen> npm i
  2.  
    npm WARN old lockfile
  3.  
    npm WARN old lockfile The package-lock.json file was created with an old version of npm,
  4.  
    npm WARN old lockfile so supplemental metadata must be fetched from the registry.
  5.  
    npm WARN old lockfile
  6.  
    npm WARN old lockfile This is a one-time fix-up, please be patient...
  7.  
    npm WARN old lockfile
  8.  
    npm WARN EBADENGINE Unsupported engine {
  9.  
    npm WARN EBADENGINE package: 'upath@1.0.4',
  10.  
    npm WARN EBADENGINE required: { node: '>=4 <=9' },
  11.  
    npm WARN EBADENGINE current: { node: 'v14.18.3', npm: '8.3.1' }
  12.  
    npm WARN EBADENGINE }
  13.  
    npm WARN deprecated babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
  14.  
    npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
  15.  
    npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
  16.  
    npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
  17.  
    npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
  18.  
    npm WARN deprecated extract-text-webpack-plugin@2.1.2: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin
  19.  
    npm WARN deprecated set-value@2.0.0: Critical bug fixed in v3.0.1, please upgrade to the latest version.
  20.  
    npm WARN deprecated html-webpack-plugin@2.30.1: out of support
  21.  
    npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
  22.  
    npm WARN tarball tarball data for file-saver@https://registry.npmjs.org/file-saver/-/file-saver-1.3.3.tgz (sha1-5oowx8sETi zYrQoRp/rKRwuCdg=) seems to be corrupted. Trying again.
  23.  
    npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over
  24.  
    as this distribution is no longer supported and may contain bugs and critical security issues.
  25.  
    npm WARN deprecated webpack-hot-middleware@2.22.0: Accidentally doesn't hot reload if warnings are seen
  26.  
    npm WARN deprecated mixin-deep@1.3.1: Critical bug fixed in v2.0.1, please upgrade to the latest
  27.  
    version.
  28.  
    npm WARN deprecated ini@1.3.5: Please update to ini >=1.3.6 to avoid a prototype pollution issue
  29.  
    npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should
  30.  
    use the URLSearchParams API instead.
  31.  
    npm WARN deprecated flatten@1.0.2: flatten is deprecated in favor of utility frameworks such as lodash.
  32.  
    npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
  33.  
    npm WARN deprecated domelementtype@1.3.0: update to domelementtype@1.3.1
  34.  
    npm WARN deprecated request@2.81.0: request has been deprecated, see https://github.com/request/request/issues/3142
  35.  
    npm WARN deprecated har-validator@4.2.1: this library is no longer supported
  36.  
    npm WARN deprecated source-map-url@0.4.0: See https://github.com/lydell/source-map-url#deprecated
  37.  
    npm WARN deprecated set-value@0.4.3: Critical bug fixed in v3.0.1, please upgrade to the latest version.
  38.  
    npm WARN deprecated source-map-resolve@0.5.1: See https://github.com/lydell/source-map-resolve#deprecated
  39.  
    npm WARN tarball tarball data for file-saver@https://registry.npmjs.org/file-saver/-/file-saver-1.3.3.tgz (sha1-5oowx8sETi zYrQoRp/rKRwuCdg=) seems to be corrupted. Trying again.
  40.  
    npm WARN deprecated chokidar@2.0.3: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
  41.  
    npm WARN deprecated uuid@3.2.1: 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.
  42.  
    npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over
  43.  
    as this distribution is no longer supported and may contain bugs and critical security issues.
  44.  
    npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
  45.  
    npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
  46.  
    npm WARN deprecated request@2.79.0: request has been deprecated, see https://github.com/request/rnpm WARN deprecated tar@2.2.1: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
  47.  
    npm WARN deprecated axios@0.15.3: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
  48.  
    npm WARN deprecated har-validator@2.0.6: this library is no longer supported
  49.  
    npm WARN deprecated bfj-node4@5.3.1: Switch to the `bfj` package for fixes and new features!
  50.  
    npm WARN deprecated svgo@0.7.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
  51.  
    npm WARN deprecated buffer@4.9.1: This version of 'buffer' is out-of-date. You must update to v4.9.2 or newer
  52.  
    npm WARN deprecated core-js@2.5.5: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your
  53.  
    dependencies to the actual version of core-js.
  54.  
    npm ERR! code EINTEGRITY
  55.  
    npm ERR! sha1-5oowx8sETi zYrQoRp/rKRwuCdg= integrity checksum failed when using sha1: wanted sha1-5oowx8sETi zYrQoRp/rKRwuCdg= but got sha512-2lGfU4gymmhXRUiPLeQlnlkMaSY8azJB9W8e/vFp44AlAOEvzf6XiBUoTHO9NBM4OVlehybxDM9B4SwLBh42mw== sha1-zdTETTqiZOrC9o7BZbx5HDSvEjI=. (10271 bytes)
  56.  
     
  57.  
    npm ERR! A complete log of this run can be found in:
  58.  
    npm ERR! C:\Users\Admin\AppData\Local\npm-cache\_logs\2022-02-14T08_41_59_018Z-debug-0.log
学新通

会有一段学新通

 这样的代码  required 是要求的node 版本   current 是 当前的配置 

根据需求改就可 然后 npm cache verify  清除缓存  npm i 安装  如果安装时失败 就使用cnpm i 安装

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /boutique/detail/tanhgageff
系列文章
更多 icon
同类精品
更多 icon
继续加载