question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unhandledRejection Error when running npm run dev

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:12
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

9reactions
ijjkcommented, Jul 30, 2022

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

1reaction
kerehcommented, Jul 31, 2022

@ijjk wow thank you, it works for me 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

error when starting dev server npm run dev - Stack Overflow
as soon as i need to type npm install && npm run dev, the install part goes with no hiccups. only when the...
Read more >
Error when running npm install && npm run dev - Laracasts
have a fresh installation of laravel and I've installed npm. but when I run npm install && npm run dev I get this...
Read more >
ERROR #98123 WEBPACK when running `npm run develop`
Coding example for the question ERROR #98123 WEBPACK when running `npm run develop`-Reactjs.
Read more >
Setting up your development environment for the Moodle App
Running npm start , npm run dev:android or npm run dev:ios compiles using JIT, which is faster to compile but the app takes...
Read more >
Solved: CCL1043: Error when launching development server '...
Solved: I get this error when launching the dev server. ... try deleting the node_modules folder and running the npm install command again....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found