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

Unable to deploy the project to the vercel #65

Closed
2 tasks done
nickctsang opened this issue Mar 26, 2024 · 10 comments
Closed
2 tasks done

Unable to deploy the project to the vercel #65

nickctsang opened this issue Mar 26, 2024 · 10 comments

Comments

@nickctsang
Copy link

描述

Hi,

I got the following error when I trying to deploy this project to the vercel. Could you please tak a look?

`17:22:15.021 Running build in Washington, D.C., USA (East) – iad1
17:22:15.258 Cloning github.com/nickctsang/sing-box-subscribe (Branch: main, Commit: b31412c)
17:22:15.286 Skipping build cache, deployment was triggered without cache.
17:22:16.345 Cloning completed: 1.085s
17:22:17.010 Running "vercel build"
17:22:18.297 Vercel CLI 33.6.1
17:22:18.753 Error: Unable to find any supported Python versions.
17:22:18.753 Learn More: http://vercel.link/python-version`

完整性要求

  • 我保证阅读了reademe文档,了解所有sing-box-subscrib使用参数的含义与工作流程。
  • 我保证转换的订阅链接可以在浏览器打开,并且有内容。
@Toperlock
Copy link
Owner

Toperlock commented Mar 26, 2024

Check if the Pipfile file is missing from the project.
And Vercel only supports version 3.9
image
image

@nickctsang
Copy link
Author

Hi,

As checked, this file is appear in my repositories but it won't work.

@Toperlock
Copy link
Owner

Did you follow the tutorial steps?
https://github.com/Toperlock/sing-box-subscribe/blob/main/docs/vercel-en.md

@nickctsang
Copy link
Author

Hi,

I beleive I have already followered your guide to deploy the project to vercel and I did again after receieving your reply, but it still won't work.

@Toperlock
Copy link
Owner

Toperlock commented Mar 26, 2024

The project's Framework Preset choose Other. You can find it in Settings > General > Node.js Version.
image

@nickctsang
Copy link
Author

FYI.

image
image
image

@Toperlock
Copy link
Owner

maybe try: vercel/vercel#11128
If that doesn't work either, sorry I can't help you either

@nickctsang
Copy link
Author

Hi,

Thanks for your help. It work now.

Many thanks!!!!

@Toperlock Toperlock pinned this issue Mar 26, 2024
@TaoRone
Copy link

TaoRone commented Mar 29, 2024

Thank you for your attempt and answer upstairs. Now I will translate the solution in Chinese.
vercel的问题,经测试,当vercel导入失败时,进入项目,设置,常规,修改node.js为18.x即可
这个问题应该最近会被vercel修复

@jpcchu
Copy link

jpcchu commented Mar 30, 2024

谢谢楼上的尝试和回答。现在我将这个解决方案翻译成中文。 vercel的问题,经过测试,当vercel导入失败时,进入项目,应该设置,常规,修改node.js为18.x即可 这个问题最近会被vercel修复

thank you very much for your help

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

No branches or pull requests

4 participants