why to create local one? what I want to test the remote d1 on local ?
why to create local one? what I want to test the remote d1 on local ?




⚡️ Warning: your app/not-found route might contain runtime logic, this is currently
⚡️ not supported by @cloudflare/next-on-pages, if that's actually the case please
⚡️ remove the runtime logic from your not-found route
⚡️ ERROR: Failed to produce a Cloudflare Pages build from the project.
⚡️
⚡️ The following routes were not configured to run with the Edge Runtime:
⚡️ - /_not-found
⚡️
⚡️ 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-runtimesexport default function Home() {
return null;
// return <Client />;
}
// import Client from "./client";
// import dynamic from "next/dynamic";
// const Client = dynamic(() => import("./client").then((mod) => mod.Client), {
// loading: () => <p>Loading...</p>,
// });