当前位置:   article > 正文

gitee下载新的项目后npm install报错如下_npm warn deprecated glob@7.2.3: glob versions prio

npm warn deprecated glob@7.2.3: glob versions prior to v9 are no longer supp
  1. npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@3. I'll try to do my best
  2. with it!
  3. npm WARN deprecated axios@0.18.1: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
  4. npm WARN deprecated iscroll@5.2.0: deprecated
  5. npm WARN deprecated vue@2.6.10: Vue 2 has reached EOL and is no longer actively maintained. See https://v2.vuejs.org/eol/ for more details.
  6. npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 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. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
  7. npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
  8. npm WARN deprecated babel-eslint@10.0.1: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
  9. npm WARN deprecated chokidar@2.1.5: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
  10. npm WARN deprecated runjs@4.4.2: This project has been renamed to 'tasksfile'. Install using 'npm install tasksfile' instead.
  11. npm WARN deprecated html-webpack-plugin@3.2.0: 3.x is no longer supported
  12. npm WARN deprecated svgo@1.2.0: This SVGO version is no longer supported. Upgrade to v2.x.x.
  13. npm WARN deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
  14. npm WARN deprecated @babel/plugin-proposal-json-strings@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-json-strings instead.
  15. npm WARN deprecated @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer
  16. maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
  17. npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
  18. npm WARN deprecated @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
  19. npm WARN deprecated @babel/plugin-proposal-unicode-property-regex@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer
  20. maintained. Please use @babel/plugin-transform-unicode-property-regex instead.
  21. npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
  22. npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce
  23. async requests by a key value, which is much more comprehensive and powerful.
  24. npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'
  25. npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
  26. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
  27. npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
  28. npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
  29. npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
  30. npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
  31. npm WARN deprecated har-validator@5.1.5: this library is no longer supported
  32. npm WARN deprecated uuid@3.4.0: 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.
  33. npm WARN deprecated acorn-dynamic-import@3.0.0: This is probably built in to whatever tool you're using. If you still need it... idk
  34. npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
  35. npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
  36. npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
  37. npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
  38. npm WARN deprecated figgy-pudding@3.5.2: This module is no longer supported.
  39. npm WARN deprecated move-concurrently@1.0.1: This package is no longer supported.
  40. npm WARN deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
  41. npm WARN deprecated fs-write-stream-atomic@1.0.10: This package is no longer supported.
  42. npm WARN deprecated copy-concurrently@1.0.5: This package is no longer supported.
  43. npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
  44. npm WARN deprecated fsevents@1.2.13: The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2
  45. npm WARN deprecated eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
  46. npm WARN deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported
  47. npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
  48. npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
  49. npm WARN deprecated domexception@1.0.1: Use your platform's native DOMException instead
  50. npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
  51. npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
  52. npm WARN deprecated sane@2.5.2: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
  53. npm WARN deprecated kleur@2.0.2: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0\> for migration path(s).
  54. npm WARN deprecated webpack-chain@4.12.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
  55. npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
  56. npm WARN deprecated consolidate@0.15.1: Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog
  57. npm WARN deprecated microcli@1.3.3: This project has been renamed to @pawelgalazka/cli . Install using @pawelgalazka/cli instead
  58. npm WARN deprecated microargs@1.1.2: This project has been renamed to @pawelgalazka/cli-args. Install using @pawelgalazka/cli-args instead
  59. > husky@1.3.1 preuninstall D:\My\program\css_html_project\crm-pc-master-888665f1de9c3ed84b06553604e8bd05fa02d20b\node_modules\husky
  60. > node husky uninstall
  61. husky > uninstalling git hooks
  62. Can't find resolved .git directory, skipping Git hooks uninstallation.
  63. > yorkie@2.0.0 uninstall D:\My\program\css_html_project\crm-pc-master-888665f1de9c3ed84b06553604e8bd05fa02d20b\node_modules\yorkie
  64. > node bin/uninstall.js
  65. husky
  66. uninstalling Git hooks
  67. done
  68. > deasync@0.1.29 install D:\My\program\css_html_project\crm-pc-master-888665f1de9c3ed84b06553604e8bd05fa02d20b\node_modules\deasync
  69. > node ./build.js
  70. `win32-x64-node-14` exists; testing
  71. Binary is fine; exiting
  72. > yorkie@2.0.0 install D:\My\program\css_html_project\crm-pc-master-888665f1de9c3ed84b06553604e8bd05fa02d20b\node_modules\yorkie
  73. > node bin/install.js
  74. setting up Git hooks
  75. can't find .git directory, skipping Git hooks installation
  76. > husky@1.3.1 install D:\My\program\css_html_project\crm-pc-master-888665f1de9c3ed84b06553604e8bd05fa02d20b\node_modules\husky
  77. > node husky install
  78. husky > setting up git hooks
  79. Can't find .git, skipping Git hooks installation.
  80. Please check that you're in a cloned repository or run 'git init' to create an empty Git repository and reinstall husky.
  81. > core-js@2.6.12 postinstall D:\My\program\css_html_project\crm-pc-master-888665f1de9c3ed84b06553604e8bd05fa02d20b\node_modules\core-js
  82. > node -e "try{require('./postinstall')}catch(e){}"
  83. Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
  84. The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
  85. > https://opencollective.com/core-js
  86. > https://www.patreon.com/zloirock
  87. Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
  88. > ejs@2.7.4 postinstall D:\My\program\css_html_project\crm-pc-master-888665f1de9c3ed84b06553604e8bd05fa02d20b\node_modules\ejs
  89. > node ./postinstall.js
  90. Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)
  91. > core-js@3.37.1 postinstall D:\My\program\css_html_project\crm-pc-master-888665f1de9c3ed84b06553604e8bd05fa02d20b\node_modules\vconsole\node_modules\core-js
  92. > node -e "try{require('./postinstall')}catch(e){}"
  93. Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
  94. The project needs your help! Please consider supporting core-js:
  95. > https://opencollective.com/core-js
  96. > https://patreon.com/zloirock
  97. > https://boosty.to/zloirock
  98. > bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz
  99. I highly recommend reading this: https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md
  100. npm WARN notsup Unsupported engine for rollup@3.29.4: wanted: {"node":">=14.18.0","npm":">=8.0.0"} (current: {"node":"14.21.3","npm":"6.14.18"})
  101. npm WARN notsup Not compatible with your version of node/npm: rollup@3.29.4
  102. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules\rollup\node_modules\fsevents):
  103. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  104. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\watchpack-chokidar2\node_modules\chokidar\node_modules\fsevents):
  105. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  106. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.3 (node_modules\sane\node_modules\fsevents):
  107. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  108. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\webpack-dev-server\node_modules\chokidar\node_modules\fsevents):
  109. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  110. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\chokidar\node_modules\fsevents):
  111. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  112. npm WARN babel-plugin-polyfill-regenerator@0.6.2 requires a peer of @babel/core@^7.4.0 || ^8.0.0-0 <8.0.0 but none is installed. You must install peer dependencies yourself.
  113. npm WARN babel-plugin-polyfill-corejs2@0.4.11 requires a peer of @babel/core@^7.4.0 || ^8.0.0-0 <8.0.0 but none is installed. You must install peer dependencies yourself.
  114. npm WARN babel-plugin-polyfill-corejs3@0.10.4 requires a peer of @babel/core@^7.4.0 || ^8.0.0-0 <8.0.0 but none is installed. You must install peer dependencies yourself.
  115. npm WARN @babel/helper-define-polyfill-provider@0.6.2 requires a peer of @babel/core@^7.4.0 || ^8.0.0-0 <8.0.0 but none is installed. You must install peer dependencies yourself.
  116. npm WARN jikue-web@3.4.5 No repository field.
  117. added 16 packages from 4 contributors, removed 17 packages and updated 2090 packages in 249.069s
  118. 129 packages are looking for funding
  119. run `npm fund` for details

中间有一部分报错内容

通过搜索找到:husky fails to uninstall if it's installed in a folder which is not a git repo · Issue #613 · typicode/husky (github.com)

网友建议

输入:git init

之后重新输入npm install,报错:

  1. npm WARN @babel/helper-define-polyfill-provider@0.6.2 requires a peer of @babel/core@^7.4.0 || ^8.0.0-0 <8.0.0 but none is installed. You must install peer dependencies yourself.
  2. npm WARN babel-plugin-polyfill-corejs2@0.4.11 requires a peer of @babel/core@^7.4.0 || ^8.0.0-0 <8.0.0 but none is installed. You must install peer dependencies yourself.
  3. npm WARN babel-plugin-polyfill-corejs3@0.10.4 requires a peer of @babel/core@^7.4.0 || ^8.0.0-0 <8.0.0 but none is installed. You must install peer dependencies yourself.
  4. npm WARN babel-plugin-polyfill-regenerator@0.6.2 requires a peer of @babel/core@^7.4.0 || ^8.0.0-0 <8.0.0 but none is installed. You must install peer dependencies yourself.
  5. npm WARN jikue-web@3.4.5 No repository field.
  6. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.3 (node_modules\fsevents):
  7. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  8. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\chokidar\node_modules\fsevents):
  9. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  10. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\sane\node_modules\fsevents):
  11. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  12. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\watchpack-chokidar2\node_modules\fsevents):
  13. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  14. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\webpack-dev-server\node_modules\fsevents):
  15. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  16. up to date in 13.52s
  17. 129 packages are looking for funding
  18. run `npm fund` for details

我问了同学说,这不是报错是打赏??????????????

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/693055
推荐阅读
相关标签
  

闽ICP备14008679号