cli icon indicating copy to clipboard operation
cli copied to clipboard

ERROR [unhandledRejection] read/write ECONNRESET

Open cdwmhcc opened this issue 1 year ago • 3 comments

Environment


  • Operating System: Windows_NT
  • Node Version: v20.8.0
  • Nuxt Version: 3.7.4
  • CLI Version: 3.9.0
  • Nitro Version: 2.6.3
  • Package Manager: [email protected]
  • Builder: -
  • User Config: devtools
  • Runtime Modules: -
  • Build Modules: -

Reproduction

  1. npx nuxi@latest init my-app
  2. select pnpm
  3. init git
  4. cd my-app
  5. pnpm dev

Open http://localhost:3000, refresh the web page quickly or press ctrl + R continuously.

Describe the bug

 ERROR  [unhandledRejection] write ECONNABORTED                                                               13:33:13

  at afterWriteDispatched (node:internal/stream_base_commons:160:15)
  at writeGeneric (node:internal/stream_base_commons:151:3)
  at Socket._writeGeneric (node:net:952:11)
  at Socket._write (node:net:964:8)
  at writeOrBuffer (node:internal/streams/writable:447:12)
  at _write (node:internal/streams/writable:389:10)
  at Writable.write (node:internal/streams/writable:393:10)
  at Socket.ondata (node:internal/streams/readable:817:22)
  at Socket.emit (node:events:514:28)
  at addChunk (node:internal/streams/readable:376:12)


 ERROR  [unhandledRejection] read ECONNRESET                                                                  13:33:16

  at TCP.onStreamRead (node:internal/stream_base_commons:217:20)


 ERROR  [unhandledRejection] read ECONNRESET                                                                  13:33:16

  at TCP.onStreamRead (node:internal/stream_base_commons:217:20)

image

Additional context

Tried nodejs 18.17.1 18.18.0 18.18.1

Logs

No response

cdwmhcc avatar Oct 11 '23 05:10 cdwmhcc

@cdwmhcc did you manage to solve this?

daniluk4000 avatar Dec 01 '23 09:12 daniluk4000

Any response for this issue? I have this issue too with my localhost:3000 and idk why when I switch between some pages this error occurred! and my page will stuck and can`t change it anymore!

S1ipKn0T avatar May 21 '24 13:05 S1ipKn0T

WHAT HAPPENED: I installed pnpm using choco. After installation I used command refreshenv. After that command I created pnpm using nuxt project as done above. Then I got same error message.

FIX: I fixed it by closing PowerShell and reopening it. pnpm run dev did not cause issue after that.

Hope this helps. Happy time hacking 👍

xdvarpunen avatar Sep 26 '24 14:09 xdvarpunen