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

React app build failing: cause: SocketError: other side closed #1039

Open
1 task
usbogie opened this issue May 22, 2024 · 2 comments
Open
1 task

React app build failing: cause: SocketError: other side closed #1039

usbogie opened this issue May 22, 2024 · 2 comments

Comments

@usbogie
Copy link

usbogie commented May 22, 2024

What version of million are you using?

1.0.0-rc.1

Are you using an SSR adapter? If so, which one?

No

What package manager are you using?

yarn

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the Bug

After adding MillionLint.webpack() to my list of plugins, I try and start up my react app and see this error:

node:internal/deps/undici/undici:11413
    Error.captureStackTrace(err, this);
          ^

TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11413:11) {
  cause: SocketError: other side closed
      at TLSSocket.onSocketEnd (node:internal/deps/undici/undici:9647:26)
      at TLSSocket.emit (node:events:525:35)
      at endReadableNT (node:internal/streams/readable:1359:12)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    code: 'UND_ERR_SOCKET',
    socket: {
      localAddress: '10.0.0.96',
      localPort: 54595,
      remoteAddress: '76.76.21.142',
      remotePort: 443,
      remoteFamily: 'IPv4',
      timeout: undefined,
      bytesWritten: 14582500,
      bytesRead: 1428
    }
  }
}

What's the expected result?

I expected to be able to use million lint.

Link to Minimal Reproducible Example

none

Participation

  • I am willing to submit a pull request for this issue.
Copy link

Thanks for opening this issue! A maintainer will review it soon.

@usbogie
Copy link
Author

usbogie commented May 22, 2024

Screenshot 2024-05-21 at 11 05 57 PM This is what I see when I attempt to access the remote address
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant