Skip to content

404 refresh proble #51132

@mohammad-taheri1

Description

@mohammad-taheri1

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

Operating System:        
      Platform: win32        
      Arch: x64
      Version: Windows 10 Pro
    Binaries:
      Node: 16.14.0
      npm: N/A
      Yarn: N/A
      pnpm: N/A
    Relevant packages:
      next: 13.4.5
      eslint-config-next: 13.4.5
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.1.3

Which area(s) of Next.js are affected? (leave empty if unsure)

App directory (appDir: true)

Link to the code that reproduces this issue or a replay of the bug

https://github.com/mohammad-taheri1/nextjs-tailwind-sandbox

To Reproduce

you can check it on any Next.js project

Describe the Bug

Hi.
I'm seeing a bug that exixts on version 13.4.5. Default 404 page is refreshing infinitively and it can be seen on console. also, if you create a custom not-found.js, the problem still exists.
Only creating a file for catch all with this syntax can solve this problem:

[...not-found]

Expected Behavior

not refreshing

Which browser are you using? (if relevant)

Google chrome

How are you deploying your application? (if relevant)

npm run dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue was opened via the bug report template.locked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions