next-on-pages
next-on-pages copied to clipboard
[🐛 Bug]: The 'cache' field on 'RequestInitializerDict' is not implemented.
next-on-pages environment related information
System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.4.0: Wed Feb 21 21:44:43 PST 2024; root:xnu-10063.101.15~2/RELEASE_ARM64_T6000 CPU: (8) arm64 Apple M1 Pro Memory: 16 GB Shell: /bin/zsh Package Manager Used: npm (10.5.0)
Relevant Packages: @cloudflare/next-on-pages: 1.10.0 vercel: N/A next: N/A
Description
I deployed Next.js 14 E-commerce app on pages and everything is working fine most of the time but I occasionally get this error:
{
cause: 'unknown',
status: 500,
message: "The 'cache' field on 'RequestInitializerDict' is not implemented.",
query: 'something'
}
Reproduction
- Go to product page (Or any page that uses
cache: 'no-store'
property) - Refresh the page for couple of time
- The error happens
Pages Deployment Method
Pages CI (GitHub/GitLab integration)
Pages Deployment ID
No response
Additional Information
No response
Would you like to help?
- [ ] Would you like to help fixing this bug?
Thanks for the report. I believe this is a runtime issue: https://github.com/cloudflare/workerd/issues/698
I'll escalate it with the runtime team.
Obviously, this is a not for production
bit, thanks to James on the cloudflare discord - I'm able to continue with CI/CD regression testing by modifying the build settings in cloudflare's dashboard to use this canary:
Build command:
npx @cloudflare/[email protected]
It did at least unblock development.