next/server Build Issue

Hi, I'm running into an issue during my builds using Nextjs on Pages. This seems rather strange since the example on the next-on-pages repo shows next/server being used in middleware. (https://github.com/cloudflare/next-on-pages#middleware) Thanks for any pointers/suggestions!

My next.config.js is of course configured to include experimental: {runtime: "experimental-edge",} And I've included the log and my middleware below.

Latest deployment ID is: 5439b547e0894d3022943819c304bcc9
GitHub
CLI to build and develop Next.js apps for Cloudflare Pages - GitHub - cloudflare/next-on-pages: CLI to build and develop Next.js apps for Cloudflare Pages
Was this page helpful?