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部署方式白屏 #731

Open
GuihongWang opened this issue Oct 1, 2024 · 14 comments
Open

Vercel部署方式白屏 #731

GuihongWang opened this issue Oct 1, 2024 · 14 comments

Comments

@GuihongWang
Copy link

No description provided.

@wuyilingwei
Copy link

+1
{20410277-11EA-46D5-A805-546303CAA5E0}
注意到有一次自动的部署

@wuyilingwei
Copy link

回滚到上个版本可以修复

@qkqpttgf
Copy link
Owner

qkqpttgf commented Oct 4, 2024

vercel-php有个更新,0.7.2只能20.x但它标着18.19,气晕
在家不方便操作,上个github都麻烦

@zjw2017
Copy link

zjw2017 commented Oct 4, 2024

vercel-php有个更新,0.7.2只能20.x但它标着18.19,气晕 在家不方便操作,上个github都麻烦

vercel-php: 0.6.2
Node version: 18.19.18

即可解决问题,感谢提出解决方案

@zjw2017
Copy link

zjw2017 commented Oct 4, 2024

vercel-php有个更新,0.7.2只能20.x但它标着18.19,气晕 在家不方便操作,上个github都麻烦

虽然进入了安装页,最后执行结果是ERROR

@wuyilingwei
Copy link

vercel-php有个更新,0.7.2只能20.x但它标着18.19,气晕 在家不方便操作,上个github都麻烦

虽然进入了安装页,最后执行结果是ERROR

还是不行吗(?)

@zjw2017
Copy link

zjw2017 commented Oct 5, 2024

vercel-php有个更新,0.7.2只能20.x但它标着18.19,气晕 在家不方便操作,上个github都麻烦

虽然进入了安装页,最后执行结果是ERROR

还是不行吗(?)

不行(
官方的demo也白了

@rowink
Copy link

rowink commented Oct 6, 2024

部署了很久的,进入目录也白屏了,只能加载出主界面

@zy111x
Copy link

zy111x commented Oct 7, 2024

解决了吗?现在还是白屏

@wuyilingwei
Copy link

能不能对运行环境先进行修改?我之前有个朋友就搞过类似的,对cf pages直接进行环境更新,然后再进行部署?

@qkqpttgf
Copy link
Owner

qkqpttgf commented Oct 8, 2024

vercel-php有个更新,0.7.2只能20.x但它标着18.19,气晕 在家不方便操作,上个github都麻烦

虽然进入了安装页,最后执行结果是ERROR

因为在安装时,OM会读取vercel-php的package.json来更新vercel-php的版本,所以现在会又变成0.7.2,导致还是出错

@zjw2017
Copy link

zjw2017 commented Oct 8, 2024

vercel-php有个更新,0.7.2只能20.x但它标着18.19,气晕 在家不方便操作,上个github都麻烦

虽然进入了安装页,最后执行结果是ERROR

因为在安装时,OM会读取vercel-php的package.json来更新vercel-php的版本,所以现在会又变成0.7.2,导致还是出错

我尝试回退到0.6.2,似乎修复了这个问题,但可能是临时解决(

@zjw2017
Copy link

zjw2017 commented Oct 8, 2024

我尝试回退vercel-php至0.6.2,似乎回到了正轨。我将修复方法公布,大家可以试试。

打开:https://scfonedrive.github.io/Vercel/Deploy.html

1.下载修改过的代码包:
https://github.com/zjw2017/OneManager-php/archive/refs/heads/master.zip

2.输入你的Vercel Token和上传代码包

3.选择zip file

4.选择修改过的代码包

5.修改vercrl-php版本为0.6.2
即:"runtime": "[email protected]" (Node version: 18.19.18)

6.为你的项目取个名字

7.单击Deploy,等待项目url出现

至此,你应该可以使用项目url进行安装。
选择你的语言,输入你的Vercel Token,输入你的管理密码。
你的OneManager应该正常工作了

@Emotion04
Copy link

使用vercel部署隔几个月就会出现白屏情况,这是为何

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

7 participants