Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

md5 包和npmjs不一致 #1725

Closed
tk103331 opened this issue Mar 25, 2022 · 3 comments
Closed

md5 包和npmjs不一致 #1725

tk103331 opened this issue Mar 25, 2022 · 3 comments

Comments

@tk103331
Copy link

tk103331 commented Mar 25, 2022

昨天【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/md5https://registry.npmmirror.com/MD5 看是一样的信息,git仓库、作者、版本列表一致;
但官方源 https://registry.npmjs.org/md5https://registry.npmjs.org/MD5 里的信息不是一样的,git仓库、作者、版本列表都不一样。

怀疑和包名的大小写匹配有关。

@Aqiu007
Copy link

Aqiu007 commented Mar 25, 2022

我们出现一样的问题,类似的包还有gauge、filelist、buffer、base,会导致下载404

@tk103331
Copy link
Author

貌似问题不存在了

看了下服务信息好像今天【2022-03-25】重启过服务,难道维护人员偷偷解决了😄😄😄。
image

而且看了几个包名里有大写字母的包信息,创建和最后修改时间也是今天。
image

image

@fengmk2
Copy link
Member

fengmk2 commented Mar 26, 2022

see #1726 (comment)

@fengmk2 fengmk2 closed this as completed Mar 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants