ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] 按照FAQ中 cloudfare pages的部署步骤,无法部署

Open
#3,411 7 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
A clear and concise description of what the bug is.

按照FAQ中 cloudfare pages的部署步骤,
无法完成部署。

⚡ Completed `yarn vercel build`.

⚡ ERROR: Failed to produce a Cloudflare Pages build from the project.

⚡ The following routes were not configured to run with the Edge Runtime:
⚡ - /api/cors/[...path]

⚡ Please make sure that all your non-static routes export the following edge runtime route segment config:
⚡ export const runtime = 'edge';

⚡ You can read more about the Edge Runtime on the Next.js documentation:
⚡ https://nextjs.org/docs/app/building-your-application/rendering/edge-and-nodejs-runtimes

▲ Done in 40.40s.

**To Reproduce**
Steps to reproduce the behavior:
按照FAQ中 cloudfare pages的方法进行部署

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Deployment**
- [ ] Docker
- [ ] Vercel
- [ ] Server

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional Logs**
Add any logs about the problem here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.