are you calling the `getRequestContext` utility in the edge runtime?
are you calling the
getRequestContext utility in the edge runtime?getRequestContextprocess.env and it worked actuallyprocess.env works getRequestContext should work as well export const runtime = "edge";process.env worked without it somehowprocess.env you had used the same variable name for something else? .env into process.env.env too

❯ yarn wrangler deploy .vercel/output/static/_worker.js/index.js --dry-run --compatibility-date 2024-02-22 --name test
wrangler pages deploy not wrangler deploy, can you try that? 
node:async_hooks one), it's likely due to using the wrong commandwrangler deploy somewhere? 
Workers documentation, not Pages documentation....Pages documentation wrangler pages deploy)@cloudflare/next-on-pages, then take the .vercel/output/static/_worker.js manually gzip it and check the gzip's output size How do you get the env in a non request?all your source code is run inside a Cloudflare worker request handler, so you're basically always handling a request (i.e. you should always be able to run
getRequestContext)drizzle from working process.envprocess.envprocess.envprocess.envprocess.envexport const runtime = "edge";❯ yarn wrangler deploy .vercel/output/static/_worker.js/index.js --dry-run --compatibility-date 2024-02-22 --name testwrangler deploywrangler deploynode:async_hooksWorkersPagesPages.vercel/output/static/_worker.jsdrizzleimport { getRequestContext } from "@cloudflare/next-on-pages";
import { drizzle } from "drizzle-orm/d1";
export const runtime = 'edge';
const { env } = getRequestContext();
const db = drizzle(env.DB);
export { db };