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

Cloudflare Pages build error #114

Open
miurla opened this issue May 6, 2024 · 5 comments
Open

Cloudflare Pages build error #114

miurla opened this issue May 6, 2024 · 5 comments

Comments

@miurla
Copy link
Owner

miurla commented May 6, 2024

In the latest version build for Cloudflare pages, an error occurs that needs to be identified. Similar reports have also been made. cloudflare/next-on-pages#413 (comment)

The following routes were not configured to run with the Edge Runtime:
    - /_not-found

As a workaround for the build error, it can be resolved with the following approach.
workaround: #113 and change to use edge runtime.

@miurla
Copy link
Owner Author

miurla commented May 11, 2024

Make our own 404 pages for morphic and make all endpoints Edge solve the problem

@cameron-eth
Copy link

Hey ! I built on top of the project, but i'm noticing when the searches post, for some reason the page keeps re rendering and routing to the home page ?

@ckt1031
Copy link
Contributor

ckt1031 commented May 26, 2024

Hey ! I built on top of the project, but i'm noticing when the searches post, for some reason the page keeps re rendering and routing to the home page ?

Error occured, Cloudflare Pages is not supported in this project, I have tried to figure out the cause. It uses AI SDK, and Next.js, meaning it should not be used on Cloudflare platform.

@khakimov
Copy link

khakimov commented Jun 2, 2024

I found that post on vercel ai vercel/ai#633
Will try and update if any success.

@ckt1031
Copy link
Contributor

ckt1031 commented Jun 2, 2024

I found that post on vercel ai vercel/ai#633 Will try and update if any success.

This only about the issue of Cloudflare DNS while hosting on Vercel network, not Cloudflare Pages. We need to solve the performance issue with Vercel AI SDK and error issue when using CF Pages

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

4 participants