md5 包和npmjs不一致
tk103331 opened this issue · 3 comments
tk103331 commented
昨天【2022-03-24】下午使用cnpm安装包时,报如下错误:
@dcloudio/uni-quickapp-native@2.0.0 › @hap-toolkit/dsl-vue@0.6.13 › md5@^2.2.1] Can't find package md5@^2.2.1
然后到 https://npmmirror.com/ 查找md5包,找到两个 md5,一个小写md5(版本有1.x、2.x),一个大写MD5(版本只有1.x)。
安装过程找的是MD5,就报错Can't find package md5@^2.2.1。切换到npm使用registry.npmjs.org源没有这个问题。
后来过了段时间又恢复了,不报错了。
另外,https://npmmirror.com/ 页面的搜索框只能搜索到一个md5包。
现在目前的问题是:
使用 https://registry.npmmirror.com/md5 和 https://registry.npmmirror.com/MD5 看是一样的信息,git仓库、作者、版本列表一致;
但官方源 https://registry.npmjs.org/md5 和 https://registry.npmjs.org/MD5 里的信息不是一样的,git仓库、作者、版本列表都不一样。
怀疑和包名的大小写匹配有关。
Aqiu007 commented
我们出现一样的问题,类似的包还有gauge、filelist、buffer、base,会导致下载404
tk103331 commented
fengmk2 commented
see #1726 (comment)