You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to build Next.js locally with Cloudflare Worker using the @openNextjs/cloudflare package, encountering an error related to font manifest loading:
X [ERROR] service core:user:email-template-previewer: Uncaught Error: Unexpected loadManifest(/.next/server/next-font-manifest.json) call!
Environment
Next.js version: [your version]
@openNextjs/cloudflare version: 0.5.3
Node.js version: v22.13.1
Steps to Reproduce
Set up a Next.js project
Install @openNextjs/cloudflare
Run build command
Error occurs during build process
X [ERROR] service core:user:email-template-previewer: Uncaught Error: Unexpected loadManifest(/.next/server/next-font-manifest.json) call!
at null.<anonymous> (worker.js:130722:13) in loadManifest
at null.<anonymous> (worker.js:265861:47) in getNextFontManifest
at null.<anonymous> (worker.js:128732:38) in Server
at null.<anonymous> (worker.js:265261:9) in NextNodeServer
at null.<anonymous> (worker.js:267866:22)
The text was updated successfully, but these errors were encountered:
Also currently having this issue, want to point out too that when building with github it gives me this error: A wrangler.toml file was found but it does not appear to be valid. Did you mean to use wrangler.toml to configure Pages? If so, then make sure the file is valid and contains the pages_build_output_dir property. Skipping file and continuing.
and
`
03:00:01.146 | ⚡️ ERROR: Failed to produce a Cloudflare Pages build from the project.
03:00:01.146 | ⚡️
03:00:01.146 | ⚡️ The following routes were not configured to run with the Edge Runtime:
03:00:01.147 | ⚡️ - /_not-found
03:00:01.147 | ⚡️ - /api/products
03:00:01.147 | ⚡️ - /faq
03:00:01.147 | ⚡️ - /index
03:00:01.147 | ⚡️
03:00:01.147 | ⚡️ Please make sure that all your non-static routes export the following edge runtime route segment config:
03:00:01.147 | ⚡️ export const runtime = 'edge';
03:00:01.147 | ⚡️
03:00:01.147 | ⚡️ You can read more about the Edge Runtime on the Next.js documentation:
03:00:01.148 | ⚡️ https://nextjs.org/docs/app/building-your-application/rendering/edge-and-nodejs-runtimes
`
it errors out because it thinks its @cloudflare/next-on-pages when im using @openNextjs/cloudflare package. When I build locally like Richmond, this error disappears but instead I get the exact one he gets.
Description
When trying to build Next.js locally with Cloudflare Worker using the @openNextjs/cloudflare package, encountering an error related to font manifest loading:
Environment
Steps to Reproduce
The text was updated successfully, but these errors were encountered: