出现npm WARN deprecated request@2.88.2:......3142

博客包含问题描述及解决方法,但未给出具体内容。推测是围绕某信息技术问题展开,先阐述问题,再给出对应解决办法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

问题描述:
在这里插入图片描述
解决方法:
在这里插入图片描述
在这里插入图片描述

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 async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated har-validator@5.1.5: this library is no longer supported 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. npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm warn deprecated consolidate@0.14.5: 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 npm warn deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm warn cleanup Failed to remove some directories [ npm warn cleanup [ npm warn cleanup '\\\\?\\C:\\Users\\14949\\AppData\\Roaming\\npm\\node_modules\\vue-cli', npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\14949\AppData\Roaming\npm\node_modules\vue-cli\node_modules\rxjs\_esm5'] { npm warn cleanup errno: -4048, npm warn cleanup code: 'EPERM', npm warn cleanup syscall: 'rmdir', npm warn cleanup path: 'C:\\Users\\14949\\AppData\\Roaming\\npm\\node_modules\\vue-cli\\node_modules\\rxjs\\_esm5' npm warn cleanup } npm warn cleanup ], npm warn cleanup [ npm warn cleanup '\\\\?\\C:\\Users\\14949\\AppData\\Roaming\\npm\\node_modules\\vue-cli\\node_modules\\download-git-repo', npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\14949\AppData\Roaming\npm\node_modules\vue-cli\node_modules\download-git-repo\test'] { npm warn cleanup errno: -4048, npm warn cleanup code: 'EPERM', npm warn cleanup syscall: 'rmdir', npm warn cleanup path: 'C:\\Users\\14949\\AppData\\Roaming\\npm\\node_modules\\vue-cli\\node_modules\\download-git-repo\\test' npm warn cleanup } npm warn cleanup ] npm warn cleanup ] npm error code EEXIST npm error path C:\Users\14949\AppData\Roaming\npm\vue.cmd npm error EEXIST: file already exists npm error File exists: C:\Users\14949\AppData\Roaming\npm\vue.cmd npm error Remove the existing file and try again, or run npm npm error with --force to overwrite files recklessly. npm error A complete log of this run can be found in: C:\Users\14949\AppData\Local\npm-cache\_logs\2025-06-19T07_33_35_089Z-debug-0.log
06-20
PS D:\前端\苍穹外卖\前端源码\苍穹外卖前端源码\project-sky-admin-vue-ts> npm install --global windows-build-tools 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 async requests by a key value, which is much more comprehensive and powerful. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported 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. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated windows-build-tools@5.2.2: Node.js now includes build tools for Windows. You probably no longer need this tool. See https://github.com/felixrieseberg/windows-build-tools for details. npm ERR! code 1 npm ERR! path D:\My Software\nvm\nvm\v16.20.2\node_modules\windows-build-tools npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node ./dist/index.js Downloading python-2.7.15.amd64.msi npm ERR! Error: GET https://npm.taobao.org/mirrors/python/2.7.15/python-2.7.15.amd64.msi returned 404 npm ERR! Downloading Python failed. Error: Error: Could not find python-2.7.15.amd64.msi at https://npm.taobao.org/mirrors/python/2.7.15/python-2.7.15.amd64.msi npm ERR! at nuggetCallback (D:\My Software\nvm\nvm\v16.20.2\node_modules\windows-build-tools\dist\download.js:60:35) npm ERR! at done (D:\My Software\nvm\nvm\v16.20.2\node_modules\windows-build-tools\node_modules\nugget\index.js:58:9) npm ERR! at Request.<anonymous> (D:\My Software\nvm\nvm\v16.20.2\node_modules\windows-build-tools\node_modules\nugget\index.js:197:58) npm ERR! at Request.emit (node:events:513:28) npm ERR! at Request.onRequestResponse (D:\My Software\nvm\nvm\v16.20.2\node_modules\windows-build-tools\node_modules\request\request.js:1059:10) npm ERR! at ClientRequest.emit (node:events:513:28) npm ERR! at HTTPParser.parserOnIncomingClient (node:_http_client:693:27) npm ERR! at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17) npm ERR! at TLSSocket.socketOnData (node:_http_client:534:22) npm ERR! at TLSSocket.emit (node:events:513:28) npm ERR! windows-build-tools will now exit. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\liuchaokun\AppData\Local\npm-cache\_logs\2025-07-30T07_35_34_173Z-debug-0.log
最新发布
07-31
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值