Skip to content

unhandledRejection Error when running npm run dev #39178

@dhavalveera

Description

@dhavalveera

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 Home Single Language
    Binaries:
      Node: 16.14.2
      npm: N/A
      Yarn: N/A
      pnpm: N/A
    Relevant packages:
      next: 12.2.3
      eslint-config-next: 12.1.6
      react: 18.1.0
      react-dom: 18.1.0

What browser are you using? (if relevant)

Chrome 103.0.5060.134

How are you deploying your application? (if relevant)

next dev

Describe the Bug

event - compiled client and server successfully in 394 ms (1715 modules)
error - unhandledRejection: Error: aborted
    at connResetException (node:internal/errors:683:14)
    at abortIncoming (node:_http_server:592:17)
    at socketOnClose (node:_http_server:586:3)
    at Socket.emit (node:events:406:35)
    at TCP.<anonymous> (node:net:661:12) {
  code: 'ECONNRESET'
}

Expected Behavior

it should not throw the error

Link to reproduction

.

To Reproduce

I updated the nextjs version to 12.2.3 and also updated the react & react-dom package, but still the issue persist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue was opened via the bug report template.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions