cnpmcore
cnpmcore copied to clipboard
source registry 返回 404 后,不会自动删除
[2025-11-11T07:58:18.330Z] 👉👉👉👉👉 Tips: Sync cause by "http://r.cnpmjs.org/%40xxxx%2Fweb-helper/sync?sync_upstream=true&nodeps=true", parent traceId: 379e4aca-7ad9-447e-b8a5-1ef26a28d1f5 👈👈👈👈👈
[2025-11-11T07:58:18.331Z] 🚧🚧🚧🚧🚧 Syncing from https://registry.npmjs.org/@xxxx/web-helper, skipDependencies: true, syncUpstream: false, syncDownloadData: false, forceSyncHistory: false attempts: 1, worker: "cnpmcore-01/3399721", taskQueue: 0/100 🚧🚧🚧🚧🚧
[2025-11-11T07:58:18.331Z] 🚧 log: https://r.cnpmjs.org/-/package/@xxxx/web-helper/syncs/6912ec99894105e05c3b8074/log
[2025-11-11T07:58:19.873Z] ❌ Package not found, status 404, data: {"error":"Not found"}, log: https://r.cnpmjs.org/-/package/@xxxx/web-helper/syncs/6912ec99894105e05c3b8074/log
[2025-11-11T07:58:19.873Z] ❌ Synced @hsdata/web-helper fail, Package not found, status 404, data: {"error":"Not found"}, log: https://r.cnpmjs.org/-/package/@xxxxx/web-helper/syncs/6912ec99894105e05c3b8074/log
[2025-11-11T07:58:19.873Z] ❌❌❌❌❌ @xxxxx/web-helper ❌❌❌❌❌
@elrrrrrrr 这个功能按道理是有的,是有开关配置没有开启?
(⊙o⊙)… 确实还有 我查查
NfsAdapter 内已经删除,cdn 上现在默认配置了 1d 的 tgz 缓存,等 12 Nov 2025 09:21:35 GMT 之后看看是否删除验证下。
确实是缓存问题
https://github.com/cnpm/cnpmcore/pull/740 尴尬,是安全防护。我加个路径判断