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

最近两次的更新在Render部署出错 #409

Open
sensiribbed opened this issue Jan 19, 2025 · 6 comments
Open

最近两次的更新在Render部署出错 #409

sensiribbed opened this issue Jan 19, 2025 · 6 comments

Comments

@sensiribbed
Copy link

sensiribbed commented Jan 19, 2025

我是在Render部署的,一直都没有问题
最近两次更新都收到邮件部署失败,看了看日志,看不懂
希望大佬帮我看看,谢谢

Image

Image

@xream
Copy link
Member

xream commented Jan 19, 2025

新版需要改了. render 怎么部署的我忘了. 看着像是直接跑的 serve. 但是 sub-store.min.js 已经有问题了.

你自己改一下

方式 1: 想办法直接拉取 https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store.bundle.js 直接 node sub-store.bundle.js

方式2: 如果还是拉源码, 需要 先 bundle:esbuild, 然后跑 sub-store.bundle.js

@xream
Copy link
Member

xream commented Jan 19, 2025

哦 我翻到了垃圾箱...原来是这样的:

Image

你试试改成
pnpm i && pnpm bundle:esbuild

@xream
Copy link
Member

xream commented Jan 19, 2025

不重要. 你要抓住重点...把原来命令中的 pnpm build 改成 pnpm bundle:esbuild 应该就行了

@sub-store-org sub-store-org deleted a comment from sensiribbed Jan 19, 2025
@xream
Copy link
Member

xream commented Jan 19, 2025

你 gist 泄露了. 我帮你删了 comment

@sensiribbed
Copy link
Author

不重要. 你要抓住重点...把原来命令中的 pnpm build 改成 pnpm bundle:esbuild 应该就行了

Image
感谢大佬,已经好了。大佬太牛了!

@sensiribbed
Copy link
Author

不重要. 你要抓住重点...把原来命令中的 pnpm build 改成 pnpm bundle:esbuild 应该就行了

Image 感谢大佬,已经好了。大佬太牛了!

Image
不过日志里面一直循环这个warning,我还以为又失败了呢,没想到没有问题。

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

2 participants