vercel / next.js

The React Framework
https://nextjs.org
MIT License
127.53k stars 27.05k forks source link

Error: The render was aborted by the server without a reason. #56699

Open nicitaacom opened 1 year ago

nicitaacom commented 1 year ago

Link to the code that reproduces this issue

https://codesandbox.io/p/github/nicitaacom/19_spotify-clone/00-00

To Reproduce

Link to the code that reproduces this issue To Reproduce image

codesandbox - https://codesandbox.io/p/github/nicitaacom/19_spotify-clone/00-00 github repository - https://github.com/Nicitaa/19_spotify-clone

Current vs. Expected behavior Current behavior I have this error

Expected behavior No error at all (because it useless error - it tells me nothing to do or how to fix it - so that's spam) Or something that fix this error and as result issue will not appears again

Verify canary release I verified that the issue exists in the latest Next.js canary release Provide environment information Operating System: Platform: linux Arch: x64 Version: #1 SMP PREEMPT_DYNAMIC Sun Aug 6 20:05:33 UTC 2023 Binaries: Node: 16.17.0 npm: 8.15.0 Yarn: 1.22.19 pnpm: 7.1.0 Relevant Packages: next: 13.5.5-canary.5 eslint-config-next: 13.5.4 react: 18.2.0 react-dom: 18.2.0 typescript: 5.2.2 Next.js Config: output: N/A Which area(s) are affected? (Select all that apply) CLI (create-next-app)

Additional context I got this error I was writing spotify clone by this guide - https://www.youtube.com/watch?v=2aeMRB8LL4o&t=12065s&ab_channel=CodeWithAntonio

Current vs. Expected behavior

dsfds

Verify canary release

Provide environment information

12esd

Which area(s) are affected? (Select all that apply)

CLI (create-next-app)

Additional context

dfs

nicitaacom commented 1 year ago

Stupid bot said that I not provided reproduction link - https://github.com/vercel/next.js/issues/56697

So enjoy formating 'as is' or open that issue

ADTC commented 1 year ago

I'm getting this error whenever I'm editing source code files, such as SCSS modules. Instead of hot-patching the CSS into the page, it cold-reloads the entire page after throwing this error in console.

Sometimes the hot-patching works, but most of the time it's cold-reloading. It's really annoying when you're trying to develop.

eric-burel commented 1 year ago

Hi, I will try to create a repro or a more specific bug ticket but I feel like this issue might be related to incremental rendering breakage. In 13.5.4 and 13.5.5 (didn't test earlier version), if I quickly refresh a static page with a 10 second revalidation (pressing F5 like crazy), for a few seconds, it will stop revalidating and serve me a cached version. I don't think there is rate limiting built-in Next? And the only suspicious message I saw is this render abort issue.

nicitaacom commented 1 year ago

Hi, I will try to create a repro or a more specific bug ticket

About repo - its no repo to reproduce it - this issue happens randomly What do you mean by specific bug ticket?

eric-burel commented 1 year ago

@nicitaacom yeah in the end it was not related, my bug is closer to #57039 and #56018, eventhough I also have the random "render aborderted" messages but they don't seem critical

nicitaacom commented 1 year ago

messages but they don't seem critical

I agree with you

I have a bit another case when I already have 1-2 these errors and when I ignore it my terminals turns a mass of bunch of errors

dev-abuhasan commented 9 months ago

@nicitaacom yeah in the end it was not related, my bug is closer to #57039 and #56018, eventhough I also have the random "render aborderted" messages but they don't seem critical

well I have same issue on version next 13.5.6, if I refresh or change pages like creazy, then get this error....

matheusdamiao commented 9 months ago

Happening here too. Using next 13.5.4 I got this error and then the page is not rendered completly.