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 }
相关推荐
永乐春秋6 分钟前
WEB攻防-通用漏洞&文件上传&js验证&mime&user.ini&语言特性
前端
鸽鸽程序猿8 分钟前
【前端】CSS
前端·css
ggdpzhk10 分钟前
VUE:基于MVVN的前端js框架
前端·javascript·vue.js
学不会•2 小时前
css数据不固定情况下,循环加不同背景颜色
前端·javascript·html
活宝小娜5 小时前
vue不刷新浏览器更新页面的方法
前端·javascript·vue.js
程序视点5 小时前
【Vue3新工具】Pinia.js:提升开发效率,更轻量、更高效的状态管理方案!
前端·javascript·vue.js·typescript·vue·ecmascript
coldriversnow5 小时前
在Vue中,vue document.onkeydown 无效
前端·javascript·vue.js
我开心就好o5 小时前
uniapp点左上角返回键, 重复来回跳转的问题 解决方案
前端·javascript·uni-app
开心工作室_kaic6 小时前
ssm161基于web的资源共享平台的共享与开发+jsp(论文+源码)_kaic
java·开发语言·前端
刚刚好ā6 小时前
js作用域超全介绍--全局作用域、局部作用、块级作用域
前端·javascript·vue.js·vue