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
Since @cloudflare/next-on-pages: 1.13.2 I'm getting [Error]: Discovery requests failing for https://<removed>.com, XMLHttpRequest is not defined while running the app with npx wrangler pages dev .vercel/output/static --compatibility-flag=nodejs_compat after building with npx @cloudflare/next-on-pages
@cloudflare/next-on-pages: 1.13.1 works fine
Reproduction
Setup NextJS project with @auth0/nextjs-auth0 and @cloudflare/next-on-pages on version 1.13.2
Run npx @cloudflare/next-on-pages
Run npx wrangler pages dev .vercel/output/static --compatibility-flag=nodejs_compat
Pages Deployment Method
Direct Upload (wrangler pages publish or the @cloudflare/pages-action GitHub Action)
Pages Deployment ID
No response
Additional Information
No response
Would you like to help?
Would you like to help fixing this bug?
The text was updated successfully, but these errors were encountered:
next-on-pages environment related information
System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 23.6.0: Thu Sep 12 23:35:10 PDT 2024; root:xnu-10063.141.1.701.1~1/RELEASE_ARM64_T6030
CPU: (12) arm64 Apple M3 Pro
Memory: 18 GB
Shell: /bin/zsh
Package Manager Used: npm (10.2.3)
Relevant Packages:
@cloudflare/next-on-pages: 1.13.2
vercel: 39.1.1
next: ^14.2.20
@auth0/nextjs-auth0: ^3.5.0
Description
Since
@cloudflare/next-on-pages: 1.13.2
I'm getting[Error]: Discovery requests failing for https://<removed>.com, XMLHttpRequest is not defined
while running the app withnpx wrangler pages dev .vercel/output/static --compatibility-flag=nodejs_compat
after building withnpx @cloudflare/next-on-pages
@cloudflare/next-on-pages: 1.13.1
works fineReproduction
@auth0/nextjs-auth0
and@cloudflare/next-on-pages
on version1.13.2
npx @cloudflare/next-on-pages
npx wrangler pages dev .vercel/output/static --compatibility-flag=nodejs_compat
Pages Deployment Method
Direct Upload (
wrangler pages publish
or the @cloudflare/pages-action GitHub Action)Pages Deployment ID
No response
Additional Information
No response
Would you like to help?
The text was updated successfully, but these errors were encountered: