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 }
相关推荐
逐·風4 小时前
unity关于自定义渲染、内存管理、性能调优、复杂物理模拟、并行计算以及插件开发
前端·unity·c#
Devil枫4 小时前
Vue 3 单元测试与E2E测试
前端·vue.js·单元测试
尚梦5 小时前
uni-app 封装刘海状态栏(适用小程序, h5, 头条小程序)
前端·小程序·uni-app
GIS程序媛—椰子5 小时前
【Vue 全家桶】6、vue-router 路由(更新中)
前端·vue.js
前端青山6 小时前
Node.js-增强 API 安全性和性能优化
开发语言·前端·javascript·性能优化·前端框架·node.js
毕业设计制作和分享6 小时前
ssm《数据库系统原理》课程平台的设计与实现+vue
前端·数据库·vue.js·oracle·mybatis
清灵xmf8 小时前
在 Vue 中实现与优化轮询技术
前端·javascript·vue·轮询
大佩梨8 小时前
VUE+Vite之环境文件配置及使用环境变量
前端
GDAL8 小时前
npm入门教程1:npm简介
前端·npm·node.js
小白白一枚1119 小时前
css实现div被图片撑开
前端·css