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

unhandledRejection Error when running npm run dev #39178

Closed
1 task done
dhavalveera opened this issue Jul 30, 2022 · 8 comments
Closed
1 task done

unhandledRejection Error when running npm run dev #39178

dhavalveera opened this issue Jul 30, 2022 · 8 comments
Labels
bug Issue was opened via the bug report template.

Comments

@dhavalveera
Copy link

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.

@dhavalveera dhavalveera added the bug Issue was opened via the bug report template. label Jul 30, 2022
@ijjk
Copy link
Member

ijjk commented Jul 30, 2022

Hi, this should be fixed in the latest canary of Next.js v12.2.4-canary.8, specifically this PR.

@ijjk ijjk closed this as completed Jul 30, 2022
@blackwizard111
Copy link

I am getting the same error and couldn't find the solution.. Help me

@kereh
Copy link

kereh commented Jul 31, 2022

@ijjk wow thank you, it works for me :)

@marcelobitorical
Copy link

Thank you! Works great

eystein added a commit to eystein/ztm-nextjs-coffeeshop that referenced this issue Aug 17, 2022
@mrLuisFer
Copy link

Hi, this should be fixed in the latest canary of Next.js v12.2.4-canary.8, specifically this PR.

I had the same error, and this fixed it
Thanks 👍🏻

@Yorkshireman
Copy link

v12.2.4 fixes this now

@xiaocai-rookie
Copy link

xiaocai-rookie commented Sep 29, 2022

Hi, this should be fixed in the latest canary of Next.js v12.2.4-canary.8, specifically

I has this question,I use version 12.3.1,but Error is [error - unhandledRejection: undefined]

@github-actions
Copy link
Contributor

This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue was opened via the bug report template.
Projects
None yet
Development

No branches or pull requests

8 participants