node.js npm install 安装失败

npm install frida一直卡住不动,网上搜了下说换阿里镜像,还是不行。

通过npm install frida --loglevel verbose打印详细日志,发现阿里镜像有个包404了,换腾讯的OK了。

阿里镜像:npm config set registry https://registry.npmmirror.com

腾讯镜像:npm config set registry http://mirrors.cloud.tencent.com/npm/

npm http fetch POST 404 https://registry.npmmirror.com/-/npm/v1/security/advisories/bulk 215ms (cache skip)
npm http fetch POST 404 https://registry.npmmirror.com/-/npm/v1/security/audits/quick 54ms (cache skip)
npm verbose audit error HttpErrorGeneral: 404 Not Found - POST https://registry.npmmirror.com/-/npm/v1/security/audits/quick - [NOT_IMPLEMENTED] /-/npm/v1/security/* not implemented yet
npm verbose audit error     at d:\node\nvm\v20.13.1\node_modules\npm\node_modules\npm-registry-fetch\lib\check-response.js:95:15
npm verbose audit error     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
npm verbose audit error     at async [getReport] (d:\node\nvm\v20.13.1\node_modules\npm\node_modules\@npmcli\arborist\lib\audit-report.js:336:21)
npm verbose audit error     at async AuditReport.run (d:\node\nvm\v20.13.1\node_modules\npm\node_modules\@npmcli\arborist\lib\audit-report.js:106:19) {
npm verbose audit error   headers: [Object: null prototype] {
npm verbose audit error     server: [ 'Tengine' ],
npm verbose audit error     date: [ 'Fri, 02 Aug 2024 07:36:45 GMT' ],
npm verbose audit error     'content-type': [ 'application/json' ],
npm verbose audit error     'transfer-encoding': [ 'chunked' ],
npm verbose audit error     connection: [ 'keep-alive' ],
npm verbose audit error     'strict-transport-security': [ 'max-age=5184000' ],
npm verbose audit error     via: [ 'kunlun20.cn5219[,404666]' ],
npm verbose audit error     'timing-allow-origin': [ '*' ],
npm verbose audit error     eagleid: [ '3df1973117225842055401765e' ],
npm verbose audit error     'x-fetch-attempts': [ '1' ],
npm verbose audit error     'x-local-cache-status': [ 'skip' ]
npm verbose audit error   },
npm verbose audit error   statusCode: 404,
npm verbose audit error   code: 'E404',
npm verbose audit error   method: 'POST',
npm verbose audit error   uri: 'https://registry.npmmirror.com/-/npm/v1/security/audits/quick',
npm verbose audit error   body: {
npm verbose audit error     error: '[NOT_IMPLEMENTED] /-/npm/v1/security/* not implemented yet'
npm verbose audit error   },
npm verbose audit error   pkgid: undefined
npm verbose audit error }
相关推荐
qq_392794486 分钟前
前端缓存策略:强缓存与协商缓存深度剖析
前端·缓存
小美的打工日记41 分钟前
ES6+新特性,var、let 和 const 的区别
前端·javascript·es6
helianying551 小时前
云原生架构下的AI智能编排:ScriptEcho赋能前端开发
前端·人工智能·云原生·架构
@PHARAOH1 小时前
HOW - 基于master的a分支和基于a的b分支合流问题
前端·git·github·分支管理
涔溪1 小时前
有哪些常见的 Vue 错误?
前端·javascript·vue.js
程序猿online1 小时前
前端jquery 实现文本框输入出现自动补全提示功能
前端·javascript·jquery
2401_897579652 小时前
ChatGPT接入苹果全家桶:开启智能新时代
前端·chatgpt
DoraBigHead2 小时前
JavaScript 执行上下文:一场代码背后的权谋与博弈
前端
Narutolxy3 小时前
从传统桌面应用到现代Web前端开发:技术对比与高效迁移指南20250122
前端
ADFVBM3 小时前
【Node.js]
node.js