2 people reported

All time, since Oct 8.

realpathSync fails on Unix sockets

“EOPNOTSUPP: unknown error, realpath '/var/run/mDNSResponder'”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/bun/issues/7578/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

realpathSync throws EOPNOTSUPP on Unix domain sockets on macOS. Both fs.realpathSync and realpathSync.native fail on socket paths while lstat and stat succeed; Node returns the canonical path.

Is this your bug?

File my report
Where
node:fs API
Error text
EOPNOTSUPP: unknown error, realpath '/var/run/mDNSResponder'
Versions
1.4.2
Platforms
macOS
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. fs.realpathSync throws EOPNOTSUPP for Unix domain sockets on macOS 27#45752
  2. fs.realpathSync throws EOPNOTSUPP on a Unix domain socket on macOS (lstat and stat succeed; works on Linux and in Node)#44815

Do you work on Bun?

Claim its RAP Sheet to see what your users report and answer them in one place.