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

vercel部署失败,Error: ENOENT: no such file or directory, open '/vercel/path0/assets/build/radar-rules.json' #18005

Closed
1 task done
louyongjiu opened this issue Dec 30, 2024 · 1 comment
Labels
RSS bug Something isn't working

Comments

@louyongjiu
Copy link

路由地址

NOROUTE

完整路由地址

NOROUTE

相关文档

https://docs.rsshub.app/zh/deploy/

预期是什么?

vercel部署成功

实际发生了什么?

[14:02:53.537] Running "pnpm run build"
[14:02:54.045]
[14:02:54.046] > rsshub@1.0.0 build /vercel/path0
[14:02:54.046] > tsx scripts/workflow/build-routes.ts
[14:02:54.046]
[14:03:17.134] node:fs:2344
[14:03:17.135] return binding.writeFileUtf8(
[14:03:17.135] ^
[14:03:17.135]
[14:03:17.135] Error: ENOENT: no such file or directory, open '/vercel/path0/assets/build/radar-rules.json'
[14:03:17.135] at Object.writeFileSync (node:fs:2344:20)
[14:03:17.135] at (/vercel/path0/scripts/workflow/build-routes.ts:70:4) {
[14:03:17.135] errno: -2,
[14:03:17.135] code: 'ENOENT',
[14:03:17.135] syscall: 'open',
[14:03:17.135] path: '/vercel/path0/assets/build/radar-rules.json'
[14:03:17.135] }
[14:03:17.135]
[14:03:17.136] Node.js v22.12.0
[14:03:17.183]  ELIFECYCLE  Command failed with exit code 1.
[14:03:17.199] Error: Command "pnpm run build" exited with 1

部署

自建

部署相关信息

vercel node22

额外信息

[14:02:53.537] Running "pnpm run build"
[14:02:54.045] 
[14:02:54.046] > rsshub@1.0.0 build /vercel/path0
[14:02:54.046] > tsx scripts/workflow/build-routes.ts
[14:02:54.046] 
[14:03:17.134] node:fs:2344
[14:03:17.135]     return binding.writeFileUtf8(
[14:03:17.135]                    ^
[14:03:17.135] 
[14:03:17.135] Error: ENOENT: no such file or directory, open '/vercel/path0/assets/build/radar-rules.json'
[14:03:17.135]     at Object.writeFileSync (node:fs:2344:20)
[14:03:17.135]     at <anonymous> (/vercel/path0/scripts/workflow/build-routes.ts:70:4) {
[14:03:17.135]   errno: -2,
[14:03:17.135]   code: 'ENOENT',
[14:03:17.135]   syscall: 'open',
[14:03:17.135]   path: '/vercel/path0/assets/build/radar-rules.json'
[14:03:17.135] }
[14:03:17.135] 
[14:03:17.136] Node.js v22.12.0
[14:03:17.183]  ELIFECYCLE  Command failed with exit code 1.
[14:03:17.199] Error: Command "pnpm run build" exited with 1

这不是重复的 issue

  • 我已经搜索了 现有 issue,以确保该错误尚未被报告。
@louyongjiu louyongjiu added the RSS bug Something isn't working label Dec 30, 2024
@TonyRL
Copy link
Collaborator

TonyRL commented Dec 30, 2024

Duplicate of #14622

@TonyRL TonyRL marked this as a duplicate of #14622 Dec 30, 2024
@TonyRL TonyRL closed this as not planned Won't fix, can't repro, duplicate, stale Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RSS bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants