update to latest version of next on pages and bump your compatibility date
update to latest version of next on pages and bump your compatibility date
XMLHttpRequest is not defined error, but I am not using axios or cross-fetch directly.fetch outside of a page.tsx file
1.13.7dsn in the config and went through the wizard to set it up so you'd think that we'd be ok 
.node-version file in the root directory and write the version in it, like 22.12.0

.nvmrc and setting env var (via dash /pages/view/browserid-dash/settings/production#variables) for NODE_VERSION=22.13.0 and still getting errors..nvmrc throws:
npx wrangler pages devnpx @cloudflare/next-on-pagesXMLHttpRequest is not defined1.13.7dsn/app
/pages
/[id]
page.tsxYou are using Node.js 18.17.1. For Next.js, Node.js version "^18.18.0 || ^19.8.0 || >= 20.0.0" is required..node-version22.12.0Error: ENOENT: no such file or directory, lstat '/opt/buildhome/repo/.next/server/app/favicon.ico/route_client-reference-manifest.js'"Error: No such module \"__next-on-pages-dist__/functions/details/async_hooks\".\n imported from \"__next-on-pages-dist__/functions/details/[projectId].func.js\"".nvmrc.nvmrc/pages/view/browserid-dash/settings/production#variablesHEAD is now at 58fd0e5 Update .nvmrc
22:12:31.380
22:12:31.455
22:12:31.455 Using v2 root directory strategy
22:12:31.475 Success: Finished cloning repository files
22:12:32.897 Checking for configuration in a Wrangler configuration file (BETA)
22:12:32.898
22:12:32.898 Found wrangler.json file. Reading build configuration...
22:12:32.905 pages_build_output_dir: .vercel/output/static
22:12:32.905 Build environment variables: (none found)
22:12:33.001 Successfully read wrangler.toml file.
22:12:34.091 Detected the following tools from environment: nodejs@NODE_VERSION=18.18.0, npm@9.6.7
22:12:34.091 Installing nodejs NODE_VERSION=18.18.0
22:12:34.608 Trying to update node-build... ok
22:12:34.641 node-build: definition not found: node_version=18.18.0
22:12:34.648 Error: Exit with error code: 1
22:12:34.648 at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
22:12:34.648 at Object.onceWrapper (node:events:652:26)
22:12:34.648 at ChildProcess.emit (node:events:537:28)
22:12:34.648 at ChildProcess._handle.onexit (node:internal/child_process:291:12)
22:12:34.657 Failed: build command exited with code: 1
22:12:35.428 Failed: error occurred while running build commandnpx wrangler pages devnpx @cloudflare/next-on-pages