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]: Using redirect in actions causes errors in wrangler pages dev #725

Open
dario-piotrowicz opened this issue Mar 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dario-piotrowicz
Copy link
Member

dario-piotrowicz commented Mar 27, 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: (10) arm64 Apple M1 Pro
        Memory: 32 GB
        Shell: /bin/zsh
Package Manager Used: npm (10.2.4)

Relevant Packages:
        @cloudflare/next-on-pages: 1.11.0
        vercel: 33.6.1
        next: 14.1.0

Description

Using the Next.js' built-in redirect method in server actions seems to break wrangler pages dev

Thankfully the issue doesn't appear in the deployed application

Reproduction

https://github.com/dario-piotrowicz/next-on-pages-redirect-issue-repro

Additional Information

This seems likely to me a wrangler issue, we should likely move it to the workers-sdk repository, I am adding it here just to keep track of it and investigate it further, it should be moved to workers-sdk if it ends up actually being a wrangler specific issue

@dario-piotrowicz dario-piotrowicz added the bug Something isn't working label Mar 27, 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