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] 404 - on experimental branch with Nextjs 15.1 #172

Closed
himanshu-ntml opened this issue Dec 13, 2024 · 5 comments
Closed

[BUG] 404 - on experimental branch with Nextjs 15.1 #172

himanshu-ntml opened this issue Dec 13, 2024 · 5 comments
Assignees
Labels
bug Something isn't working triage

Comments

@himanshu-ntml
Copy link

himanshu-ntml commented Dec 13, 2024

Describe the bug

I updated Next.js to the latest version on an experimental branch, and now I’m getting 404 errors everywhere.

Steps to reproduce

  1. clone https://github.com/himanshu-ntml/opennext-15
  2. npm run preview

Expected behavior

Should work as expected

@opennextjs/cloudflare version

experimental

Node.js version

v22.11.0

Wrangler version

3.95.0

next info output

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:15 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6000
  Available memory (MB): 65536
  Available CPU cores: 10
Binaries:
  Node: 22.11.0
  npm: 10.9.0
  Yarn: 1.22.22
  pnpm: 9.12.3
Relevant Packages:
  next: 15.1.0 // Latest available version is detected (15.1.0).
  eslint-config-next: 14.2.5
  react: 19.0.0
  react-dom: 19.0.0
  typescript: 5.7.2
Next.js Config:
  output: N/A

Additional context

No response

@himanshu-ntml himanshu-ntml added bug Something isn't working triage labels Dec 13, 2024
@vicb
Copy link
Contributor

vicb commented Dec 13, 2024

I updated Next.js to the latest version on an experimental branch, and now I’m getting 404 errors everywhere.

What Next version did you use before, was it working?

@himanshu-ntml
Copy link
Author

It was running on Next.js 14.2.11, which is the default version when you create a new app following the OpenNext documentation.

I updated it to next 15 by following next docs here is the link

Let me know if you need anything else.

I appreciate all the work you putting into making nextjs compatible with Cloudflare.

@dario-piotrowicz
Copy link
Contributor

@himanshu-ntml a fix is on its way 😄 : #184

If you want please give the PR's prerelease a try and let me know if it works for you 🙂

@himanshu-ntml
Copy link
Author

Thank you so much for such a quick solution. Yes, trying it right now

@himanshu-ntml
Copy link
Author

It works perfectly—thank you so much for all the work you guys are putting into this!

@vicb vicb moved this from In Progress to Done (experimental branch) in opennext-cloudflare - aws "merge" Dec 17, 2024
@vicb vicb moved this from Done (experimental branch) to Done in opennext-cloudflare - aws "merge" Dec 20, 2024
@vicb vicb closed this as completed by moving to Done in opennext-cloudflare - aws "merge" Dec 20, 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 triage
Projects
Development

No branches or pull requests

3 participants