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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐛 Bug]: Implementing R2 route based on CF docs crashes local development #645

Open
1 task
markdembo opened this issue Jan 19, 2024 · 0 comments
Open
1 task
Labels
bug Something isn't working

Comments

@markdembo
Copy link

next-on-pages environment related information

System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 23.2.0: Wed Nov 15 21:54:10 PST 2023; root:xnu-10002.61.3~2/RELEASE_X86_64
CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
Memory: 16 GB
Shell: /bin/zsh
Package Manager Used: npm (9.8.1)

Relevant Packages:
@cloudflare/next-on-pages: 1.8.5
vercel: 33.0.2
next: 14.0.4

Description

When trying to implement https://developers.cloudflare.com/r2/examples/demo-worker/ as an nextjs route with local dev bindings, it crashes both workerd and next-server process in local dev. Removing the ReadableStream solves the issue.

Reproduction

See repo + repo README: https://github.com/markdembo/next-r2-repro

Pages Deployment Method

None

Pages Deployment ID

No response

Additional Information

No response

Would you like to help?

  • Would you like to help fixing this bug?
@markdembo markdembo added the bug Something isn't working label Jan 19, 2024
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

No branches or pull requests

1 participant