Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeJS方面 与Latest相关的全都报告404 #1898

Open
1 task done
8MiYile opened this issue Feb 23, 2024 · 8 comments
Open
1 task done

NodeJS方面 与Latest相关的全都报告404 #1898

8MiYile opened this issue Feb 23, 2024 · 8 comments

Comments

@8MiYile
Copy link

8MiYile commented Feb 23, 2024

先决条件 (Prerequisites)

  • 我已确认这个问题没有在其他 issues中提出过。
    I am sure that this problem has NEVER been discussed in other issues.

发生了什么(What happened)

https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/latest
image
里面貌似全是无效的软链接,可以的话,请自动处理一下这个,直接使用相对软链接,或者是302到对应版本

期望的现象(What you expected to happen)

希望能正常访问

如何重现此问题(How to reproduce it)

这个重现很简单啊,你们可以对比一下科大源

操作系统(OS Version)

No response

浏览器(如果适用)(Browser version, if applicable)

No response

其他环境(Other environments)

No response

其他需要说明的事项(Anything else we need to know)

No response

@8MiYile 8MiYile changed the title NodeJS源 与Latest相关的全都报告404 NodeJS方面 与Latest相关的全都报告404 Feb 23, 2024
@Harry-Chen
Copy link
Member

此软件从上游原样同步(rsync://unencrypted.nodejs.org/nodejs/release/),上游的链接均指向 /home/dist/nodejs/release,没有使用相对路径。

USTC 镜像使用 HTTP 方式同步,因此可能没有遇到此问题。

@8MiYile
Copy link
Author

8MiYile commented Feb 23, 2024

image
rsync需要加-l参数
image

ls -l | grep "\->" | awk -F ' ' '{print $9$11}'| awk -F '/' '{print $6" "$1}' | xargs -n2 ln -snf

可以找一个专门同步nodejs源的处理这个
然后所有的源全都同步那个处理后的节点

@8MiYile
Copy link
Author

8MiYile commented Feb 23, 2024

https://bo.js.cool/guide/local
有个项目调用了 校园网联合镜像 但感觉实际只调用那台科大的服务器 感觉不是很好。。。

@Harry-Chen
Copy link
Member

对于 rsync 上游,TUNA 总是原样提供来自上游的文件,即使存在错误。您可以向相关上游报告问题。

您提供的相应”处理“脚本进行了过多假设,我们暂不会考虑使用。

<mirrors.cernet.edu.cn> 的相关问题请到 mirrorz-org/mirrorz 项目反馈。关于您提到的”只调用科大服务器”并非如此,可能是选择算法导致。请查阅对应的文档获得更多信息。

@8MiYile
Copy link
Author

8MiYile commented Feb 23, 2024

好的好的,那我跟上游项目反馈一下,谢谢你们的解答
https://github.com/orgs/nodejs/discussions/51849

@taoky
Copy link

taoky commented Feb 23, 2024

USTC 镜像使用 HTTP 方式同步,因此可能没有遇到此问题。

第一次知道 nodejs 也有 rsync 上游。如果这个软链接问题修好了的话,USTC 这里也可能会换成用更可靠的 rsync 来同步。

@uiolee
Copy link

uiolee commented Mar 9, 2024

遇到同样的问题。导致nvm无法使用tuna的node源。

@8MiYile
Copy link
Author

8MiYile commented Mar 10, 2024

@uiolee 一起去这里讨论
https://github.com/orgs/nodejs/discussions/51849

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants