ToB企服应用市场:ToB评测及商务社交产业平台

标题: node.js npm install 安装失败 [打印本页]

作者: 写过一篇    时间: 2024-8-3 00:02
标题: 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/
  1. npm http fetch POST 404 https://registry.npmmirror.com/-/npm/v1/security/advisories/bulk 215ms (cache skip)
  2. npm http fetch POST 404 https://registry.npmmirror.com/-/npm/v1/security/audits/quick 54ms (cache skip)
  3. 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
  4. 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
  5. npm verbose audit error     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  6. 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)
  7. 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) {
  8. npm verbose audit error   headers: [Object: null prototype] {
  9. npm verbose audit error     server: [ 'Tengine' ],
  10. npm verbose audit error     date: [ 'Fri, 02 Aug 2024 07:36:45 GMT' ],
  11. npm verbose audit error     'content-type': [ 'application/json' ],
  12. npm verbose audit error     'transfer-encoding': [ 'chunked' ],
  13. npm verbose audit error     connection: [ 'keep-alive' ],
  14. npm verbose audit error     'strict-transport-security': [ 'max-age=5184000' ],
  15. npm verbose audit error     via: [ 'kunlun20.cn5219[,404666]' ],
  16. npm verbose audit error     'timing-allow-origin': [ '*' ],
  17. npm verbose audit error     eagleid: [ '3df1973117225842055401765e' ],
  18. npm verbose audit error     'x-fetch-attempts': [ '1' ],
  19. npm verbose audit error     'x-local-cache-status': [ 'skip' ]
  20. npm verbose audit error   },
  21. npm verbose audit error   statusCode: 404,
  22. npm verbose audit error   code: 'E404',
  23. npm verbose audit error   method: 'POST',
  24. npm verbose audit error   uri: 'https://registry.npmmirror.com/-/npm/v1/security/audits/quick',
  25. npm verbose audit error   body: {
  26. npm verbose audit error     error: '[NOT_IMPLEMENTED] /-/npm/v1/security/* not implemented yet'
  27. npm verbose audit error   },
  28. npm verbose audit error   pkgid: undefined
  29. npm verbose audit error }
复制代码


免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。




欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) Powered by Discuz! X3.4