Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃悰 Bug]: The 'cache' field on 'RequestInitializerDict' is not implemented. #719

Open
1 task
Tkko opened this issue Mar 22, 2024 · 2 comments 路 May be fixed by #771
Open
1 task

[馃悰 Bug]: The 'cache' field on 'RequestInitializerDict' is not implemented. #719

Tkko opened this issue Mar 22, 2024 · 2 comments 路 May be fixed by #771
Assignees
Labels
bug Something isn't working

Comments

@Tkko
Copy link

Tkko commented Mar 22, 2024

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?
@Tkko Tkko added the bug Something isn't working label Mar 22, 2024
@IgorMinar
Copy link
Contributor

Thanks for the report. I believe this is a runtime issue: cloudflare/workerd#698

I'll escalate it with the runtime team.

@tstpierre
Copy link

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/next-on-pages@0.0.0-317e872

It did at least unblock development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants