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

[Feature] 部署到 koyeb 报错 #181

Open
Avey777 opened this issue May 12, 2024 · 5 comments
Open

[Feature] 部署到 koyeb 报错 #181

Avey777 opened this issue May 12, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@Avey777
Copy link

Avey777 commented May 12, 2024

Build ready to start ▶️
>> Cloning github.com/Avey777/sun-panel.git commit sha 25f46209d97ae7bd6de29c39f93fd4d83932eb06 into /workspace
Initialized empty Git repository in /workspace/.git/
From https://github.com/Avey777/sun-panel
 * branch            25f46209d97ae7bd6de29c39f93fd4d83932eb06 -> FETCH_HEAD
HEAD is now at 25f4620 Update README.md
Previous image with name "registry01.prod.koyeb.com/k-a25c5d05-c426-4c7d-b1cc-4bd134c3c86a/84348fef-67a3-4bd7-b532-c6c0da36b8f7:latest" not found
3 of 4 buildpacks participating
heroku/nodejs-engine       2.6.2
heroku/nodejs-pnpm-engine  2.6.2
heroku/nodejs-pnpm-install 2.6.2
Layer cache not found
[Heroku Node.js Engine Buildpack]
[Checking Node.js version]
Node.js version not specified, using 20.x
Resolved Node.js version: 20.10.0
[Installing Node.js distribution]
Downloading Node.js 20.10.0
Extracting Node.js 20.10.0
Installing Node.js 20.10.0
- Debug info
  - Corepack Requirement Error
! A pnpm lockfile (`pnpm-lock.yaml`) was detected, but the
! version of `pnpm` to install could not be determined.
!
! `pnpm` may be installed via the `heroku/nodejs-corepack`
! buildpack. It requires the desired `pnpm` version to be set
! via the `packageManager` key in `package.json`.
!
! To set `packageManager` in `package.json` to the latest
! `pnpm`, run:
!
! `corepack enable`
! `corepack use pnpm@*`
!
! Then commit the result, and try again.
ERROR: failed to build: exit status 1
exit status 51

希望可以部署到:https://app.koyeb.com/

@Avey777 Avey777 added the enhancement New feature or request label May 12, 2024
@Avey777
Copy link
Author

Avey777 commented May 12, 2024

image

@hslr-s
Copy link
Owner

hslr-s commented May 13, 2024

sun-panel 目前需要在一个可运行二进制的环境中运行,不能再纯node环境运行,请确认该站的环境

@Avey777
Copy link
Author

Avey777 commented May 13, 2024

docker 可以部署,但是自己域名代理 koyeb 域名,提升域名多次重定向

@hslr-s
Copy link
Owner

hslr-s commented May 13, 2024

多次重定向,应该与项目本身没有关系,看一下是不是代理域名的工具配置有问题,另外项目暂时不支持部署在二级路径下,看一下是不是这个问题。

@Avey777
Copy link
Author

Avey777 commented May 13, 2024

直接在koyeb 使用 docker 默认部署的, 应该不会在二级路径下。 使用的 cloudflare 代理的 koyeb 的域名,就简单的域名代理配置,没有太多可选的功能。 koyeb.com 您可以尝试下嘛?

这个提供了免费使用的一个 web 服务, 对于我们不想折腾并且可以稳定使用非常有帮助,是不可多得的选择!

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

No branches or pull requests

2 participants