-
Notifications
You must be signed in to change notification settings - Fork 125
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]: nextjs local preview succeeded, deployment succeeded, but no deployment was shown #740
Comments
I'm running into the same issue. However, manually uploading the In particular, that upload has a |
@liuhenry Yes, I have used manual upload, but I have the same problem. I think it is the built file that is not parsed properly. Pages does not think it is a service. |
Manual upload won't deploy the worker, it will just upload everything as static assets. The _worker.js folder should not be shown in your list of assets on Pages. Please can you share deployment IDs for the failing deployments? |
@james-elicx What is the id you are talking about? Is it this one? Twice I modified the path, and the path was changed to, He successfully displayed the deployment preview address, but it was inaccessible (this is normal)
Previously, I used full stack Next.js to initialize the project, and the deployment was normal |
@james-elicx Hello, would like to know if there are any current solutions or suggestions for this problem? |
Do you have a solution when I encounter the same situation? |
I guess the reason for the problem is caused by a combination of nextjs, Prisma, and d1. This is the smallest problem reproduction demo I have created: https://github.com/hocgin/issue-cloudflare-nextjs-prisma-d1 Where the problem occurred: https://github.com/hocgin/issue-cloudflare-nextjs-prisma-d1/blob/bbc5013d02487554ac39f494ee3f4017cb416485/app/api/hello/route.ts#L12 Deployment ID: 6b32578d-be85-4bf0-9310-e518b5c451dd Looking forward to receiving a solution to the problem |
No, it's on hold |
Getting this same issue as well but when using Drizzle ORM in an RSC. |
Same |
@hehehai I've had a similar issue than you (build does not error, deploy does not error , but the deployment appears fully broken with all paths returning 404). I've created a PR that makes sure the build exits with code 1 when erroring unexpectedly. If this is the exact same issue you and the other users are having, there's obviously still something that is causing the build to fail and this PR will just make sure it doesn't go through as a broken deployment causing an incident. It'd be helpful to see your
|
@juanferreras No, it's like this ▲ ƒ Middleware 222 kB
▲ ℇ (Edge Runtime) server-rendered on demand using the Edge Runtime
▲ Traced Next.js server files in: 336.634ms
▲ Created all serverless functions in: 362.769ms
▲ Collected static files (public/, static/, .next/static): 5.529ms
▲ Build Completed in .vercel/output [37s]
⚡️ Completed `pnpm exec vercel build`.
⚡️ Build Summary (@cloudflare/next-on-pages v1.11.0)
⚡️
⚡️ Middleware Functions (1)
⚡️ - src/middleware
⚡️
⚡️ Edge Function Routes (7)
...
✨ Deployment complete! Take a peek over at https://5585e299.at4-start.pages.dev |
@juanferreras Any solutions or plans for liberation? Do you know the specific reason now? If it cannot be reproduced, can I use the repo reproduction I provide? |
Still getting this same issue. Has anyone found a solution or reason for why this is happening? |
next-on-pages environment related information
System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 23.1.0: Mon Oct 9 21:27:27 PDT 2023; root:xnu-10002.41.9~6/RELEASE_X86_64
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 32 GB
Shell: /bin/zsh
Package Manager Used: npm (10.1.0)
Relevant Packages:
@cloudflare/next-on-pages: 1.11.0
vercel: N/A
next: N/A
Description
developed the nextjs project, using pages deployment, the first deployment was successful, but after my subsequent modifications, the deployment was successful, but accessing pages failed
Reproduction
https://github.com/hehehai/at4-kit
Pages Deployment Method
None
Pages Deployment ID
at4-start
Additional Information
No response
Would you like to help?
The text was updated successfully, but these errors were encountered: