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

在Zeabur上部署进不去编辑界面 #421

Closed
lijiajunply opened this issue Sep 19, 2024 · 2 comments
Closed

在Zeabur上部署进不去编辑界面 #421

lijiajunply opened this issue Sep 19, 2024 · 2 comments
Labels
question Further information is requested

Comments

@lijiajunply
Copy link

我在Zeabur进行部署,但是发现不行
image
| provider │ nodejs |
║───────────────────────────────────────────────────────────────────────|
║ packageManager │ npm ║
║───────────────────────────────────────────────────────────────────────║
║ framework │ vite ║
║───────────────────────────────────────────────────────────────────────║
║ nodeVersion │ 20 ║
║───────────────────────────────────────────────────────────────────────║
║ installCmd │ COPY package.json* tsconfig.json* .npmrc* . ║
║ │ COPY package-lock.json* . ║
║ │ RUN npm install ║
║───────────────────────────────────────────────────────────────────────║
║ buildCmd │ npm run build ║
║───────────────────────────────────────────────────────────────────────║
║ outputDir │ dist |
然后就一直卡在初始界面,没有编辑页面

@yanglbme
Copy link
Member

npm run build:h5-netlify

用这个试试

@yanglbme
Copy link
Member

我知道了,Zeabur 似乎不支持指定 npm run build:h5-netlify

有另一个解决办法,添加环境变量,Key = SERVER_ENV, Value = NETLIFY,然后重新部署,就可以了。

image

我们项目已经部署成功了:

https://doocs-md.zeabur.app/

@yanglbme yanglbme added the question Further information is requested label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants